Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
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: Harrison, John R <john.r.harrison@i...>
Subject: RE: [Caml-list] Having '<<', why to use '|>' ?
Another possibility: I've used "f ** g" for function composition of "f"
and "g"

in some of my code. It seems quite intuitive to me, a sort of

operation in the "monoid" of functions. Maybe people accustomed to using

"**" for the power function will find it weird, though.





[] On Behalf Of Ashish Agarwal
Sent: Thursday, September 20, 2007 6:42 AM
Subject: Re: [Caml-list] Having '<<', why to use '|>' ?


>   It would be useful that experimented OCaml people suggest a
replacement for the heavily used composition operator ( << ) that is now
reserved for camlp4...

After reading all your posts and all previous posts I could find, I've
started using (<--) and (-->), but I also wish there was an agreed upon
notation for this. I have no confidence that my choices are good.