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

Achim Schneider barsoap at web.de
Mon Sep 29 14:34:00 EDT 2008


Jonathan Cast <jonathanccast at fastmail.fm> wrote:

> On Mon, 2008-09-29 at 19:50 +0200, Achim Schneider wrote:
> > "Sean Leather" <leather at cs.uu.nl> wrote:
> > 
> > > > > (\x y -> y)
> > > >
> > > > *shudder*
> > > >
> > > > I just can't stand such things.
> > > >
> > > 
> > > What is it that you can't stand? Would you prefer "flip const"?
> > > 
> > It's the missing "x" on the right side. Makes my internal C compiler
> > ache.
> 
> (\ _ y -> y)
> 
Still begs for a rewrite at the call-site... oh wait, that won't work.


PS: I should tell claws that my inbox "Haskell Cafe" has no
associated email account. Would stop me from replying off-list.

-- 
(c) this sig last receiving data processing entity. Inspect headers
for copyright history. All rights reserved. Copying, hiring, renting,
performance and/or quoting of this signature prohibited.



More information about the Haskell-Cafe mailing list