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
Because ReaderT e is pretty much Compose ((->) e), there should be derived Semialign, Zip, Repeat, and Unzip instances for it. Also, even though Compose ((->) e) doesn't have an Align instance, nil = ReaderT (const nil) should be law-abiding.
Additionally, MaybeT m is isomorphic to Compose m Maybe, so it also would get Semialign, Align, Zip, Repeat, and Unzip instances. There might also be a possible law-abiding Unalign instance, but I'm not sure right this moment.
The text was updated successfully, but these errors were encountered:
Because
ReaderT e
is pretty muchCompose ((->) e)
, there should be derivedSemialign
,Zip
,Repeat
, andUnzip
instances for it. Also, even thoughCompose ((->) e)
doesn't have anAlign
instance,nil = ReaderT (const nil)
should be law-abiding.Additionally,
MaybeT m
is isomorphic toCompose m Maybe
, so it also would getSemialign
,Align
,Zip
,Repeat
, andUnzip
instances. There might also be a possible law-abidingUnalign
instance, but I'm not sure right this moment.The text was updated successfully, but these errors were encountered: