[Haskell-cafe] Re: 'par' - why has it the type a -> b -> b ?

Jonathan Cast jonathanccast at fastmail.fm
Mon Sep 29 13:29:09 EDT 2008


On Mon, 2008-09-29 at 17:59 +0200, Achim Schneider wrote:
> Malcolm Wallace <Malcolm.Wallace at cs.york.ac.uk> wrote:
> 
> > (\x y -> y)
> 
> *shudder*
> 
> I just can't stand such things.

Then call it `flip const'.

jcc




More information about the Haskell-Cafe mailing list