Proposal: Generalize forever to Applicative
Dan Burton
danburton.email at gmail.com
Tue May 12 18:07:06 UTC 2015
+1
On Monday, May 11, 2015, David Feuer <david.feuer at gmail.com> wrote:
> This looks like a no-brainer to me:
>
> forever :: Applicative f => f a -> f b
> forever a = let x = a *> x in x
>
--
-- Dan Burton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20150512/f371b978/attachment.html>
More information about the Libraries
mailing list