Proposal: Generalize forever to Applicative

John Wiegley johnw at newartisans.com
Tue May 12 15:13:41 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

John


More information about the Libraries mailing list