English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2007-09-18 (08:51)
From: Julien Moutinho <julien.moutinho@g...>
Subject: Re: [Caml-list] Having '<<', why to use '|>' ?
>   That is actually a problem indeed. What could be safely
> used as a composition operator instead ? ( <<< ) ?
Have a look at this:
	http://caml.inria.fr/pub/docs/manual-ocaml/lex.html#infix-symbol
With the keywords below.

> What else ?
I would personally double the '@':
	let (@@) f g x = f @ g x

Regards.