-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FreeApplicative#hoist is same as compile #524
Conversation
Current coverage is
|
|
Good catch - |
@@ -45,7 +38,8 @@ sealed abstract class FreeApplicative[F[_], A] extends Product with Serializable | |||
final def fold(implicit F: Applicative[F]): F[A] = | |||
foldMap(NaturalTransformation.id[F]) | |||
|
|||
final def compile[G[_]](f: F ~> G)(implicit G: Applicative[G]): FA[G, A] = | |||
/** Interpreter this FreeApplicative algebra into another using FreeApplicative. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor typo here. I think you probably meant "Interpret this..."
👍 |
1 similar comment
👍 |
FreeApplicative#hoist is same as compile
No description provided.