Lost MonadFix instances

박신환 ndospark320 at naver.com
Thu Aug 9 02:33:14 UTC 2018


instance MonadFix Down where
mfix f = Down (fix (\x -> let
Down x' = f x
in x'
))

instance MonadFix Proxy where
mfix _ = Proxy

instance MonadFix U1 where
mfix _ = U1

instance MonadFix Complex where
mfix f = fix (realPart . f) :+ fix (imagPart . f)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20180809/db697aba/attachment.html>


More information about the Libraries mailing list