A default value provider.
A default value provider.
If you wish to receive the result of Monad[]
not in an option
value, declare an implicit value of Default[]
of the result
type. For example, if you wish to receive an Engine
rather
than an Option[Engine]
, declare an implicit value of
Default[Engine]
.
implicit val defaultEngine: Default[Engine] = Default[Engine] { /* a default value : Engine */ }
A type class to run each element of Monad[]
s separately.
A class to define a resolution from source values to target values.
A class to define a resolution from source values to target values.
Override run
to define a concrete resolution.
A type class to run Monad[]
s all together
A type tag to forbid implicit conversion on a list of monads.
A type tag to forbid implicit conversion on a list of monads.
It forbids an conversion from Seq[Monad[SingleValue[T]]]
to
Seq[T]
. This is useful when you provide no Resolve.run
which resolves multiple values all together but provide one
which resolves each element separately (via Seq.map
for
example) and want to prevent users from expecting that they can
be resolved at once.
A class to create a monad instance from an object of the result type.