Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] Having '<<', why to use '|>' ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christian Stork <caml-list@c...>
Subject: Re: [Caml-list] Having '<<', why to use '|>' ?
On Sat, Sep 22, 2007 at 05:43:54PM +0200, Daniel Bünzli wrote:
> 
> Le 22 sept. 07 à 17:22, Nicolas Pouillard a écrit :
> 
> >The  old  and  deprecated  `&' operator do perfectly the job.  
> >Indeed the OCaml
> >`&'  operator have the associativity and a precedence close to the  
> >Haskell `$'
> >than what can do the OCaml `$'.
> 
> The problem is that jocaml recycles it.

Not only that, but why not strive for compatibility with F#'s operators?
The F# developers thought this through and made reasonable choices,
afaict.  Indeed is there any reason why one couldn't come up with a
camlp4 extension that emulates all of the operators that F# offers by
default?

-- 
Chris Stork   <>  Support eff.org!  <>   http://www.ics.uci.edu/~cstork/
OpenPGP fingerprint:  B08B 602C C806 C492 D069  021E 41F3 8C8D 50F9 CA2F