org.llm4s.util.LiftToResult
See theLiftToResult companion object
Evidence that values in effect F can be lifted into Result.
The canonical instance is for cats.Id, which wraps any value in Right. Future backends with richer effects (e.g. cats.effect.IO, scala.concurrent.Future) supply their own instance to bridge into the synchronous Result error channel.
Type parameters
- F
-
the source effect
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article