Proposal: Generalize forever to Applicative

David Feuer david.feuer at gmail.com
Tue May 12 05:05:14 UTC 2015


This looks like a no-brainer to me:

forever :: Applicative f => f a -> f b
forever a = let x = a *> x in x
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20150512/e477d211/attachment.html>


More information about the Libraries mailing list