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
I'm having trouble understanding how I'd specify the instances for data types that are free monads, where applicative operations result in cartesian products of their arguments. Examples would be the list type [] or also the main data type from algebraic-graphs, which is a bit more interesting for having multiple sums:
I'm having trouble understanding how I'd specify the instances for data types that are free monads, where applicative operations result in cartesian products of their arguments. Examples would be the list type
[]
or also the main data type fromalgebraic-graphs
, which is a bit more interesting for having multiple sums:This data type is isomorphic to
and has an equivalent Applicative instance.
The text was updated successfully, but these errors were encountered: