5 Feb 20:34
Re: Re: Why is $ right associative instead of leftassociative?
Tomasz Zielonka <tomasz.zielonka <at> gmail.com>
2006-02-05 19:34:04 GMT
2006-02-05 19:34:04 GMT
On Sun, Feb 05, 2006 at 06:58:15PM +0000, Ben Rudiak-Gould wrote: > Tomasz Zielonka wrote: > >But then you have a problem when you when you want to add something > >at the beginning> > How about: > > id > . f x y > . g x > $ z Yes, I've thought about it. You are using a neutral element of ., just like I used [] as a neutral element of ++ (or concat). Best regards Tomasz -- -- I am searching for programmers who are good at least in (Haskell || ML) && (Linux || FreeBSD || math) for work in Warsaw, Poland
>
> How about:
>
> id
> . f x y
> . g x
> $ z
Yes, I've thought about it. You are using a neutral element of .,
just like I used [] as a neutral element of ++ (or concat).
Best regards
Tomasz
RSS Feed