Proposal: Generalize forever to Applicative

David Luposchainsky dluposchainsky at googlemail.com
Tue May 12 15:16:04 UTC 2015


>>>>>> David Feuer <david.feuer at gmail.com> writes:

> forever :: Applicative f => f a -> f b
> forever a = let x = a *> x in x

+1

David


More information about the Libraries mailing list