You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Cats Free monad has Coyoneda "built-in". This means that when using a custom ADT with Free and an interpreter, you don't need to create a Functor for your data type. This means that the ADT in our doc could be simplified, which would probably be better to do for an introductory doc.
The text was updated successfully, but these errors were encountered:
This resolvestypelevel#804.
I also updated the "pure" compiler to use `State`. It previously had
said that a pure compiler couldn't be written and used with `foldMap`,
but that's not really true if you use something like `State`. I think
this is probably a cleaner and more useful solution.
The Cats
Free
monad hasCoyoneda
"built-in". This means that when using a custom ADT withFree
and an interpreter, you don't need to create aFunctor
for your data type. This means that the ADT in our doc could be simplified, which would probably be better to do for an introductory doc.The text was updated successfully, but these errors were encountered: