Adding an ignore function to Control.Monad

Malcolm Wallace malcolm.wallace at cs.york.ac.uk
Mon Dec 14 14:03:35 EST 2009


> On Mon, Dec 14, 2009 at 8:43 AM, Malcolm Wallace
> <malcolm.wallace at cs.york.ac.uk> wrote:
>> I vote against 'discard', mainly because I already use it  
>> frequently, as an
>> infix operator
>>
>>    discard :: Applicative f => f a -> f b -> f a
>
> Isn't that (<*)?

Quite possibly.  I find the chosen symbols for Applicative very  
difficult to remember though, and much prefer textual names.

Regards,
     Malcolm



More information about the Libraries mailing list