Closed xgrommx closed 5 years ago
Also I have question why in MFunctor
we use restriction like Monad m
and not Monad n
?
@xgrommx: The main reason I haven't yet added higher-kinded invariant functors is because they tend to only be used for Cont
-like monads
The reason for the Monad n
constraint is because this library originated with pipes
and conduit
as the initial users and they both required a Monad n
constraint at the time
This is a duplicate of #1 ;)
@duairc: Yeah, you're right! 🙂
I can go ahead and close this, then, as a duplicate
Hello @Gabriel439. Some structure cannot to have instance for
MFunctor
. For example it will beContT
,Codensity
and etc. But we can create some invariant version ofMFunctor
What do u think about it?