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
right-associating infix application operator camlp4 extension
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-08-06 (22:59)
From: Quôc_Peyrot <chojin@l...>
Subject: right-associating infix application operator camlp4 extension
Hello,
Is there any existing camlp4 extensions to define a $ haskell-like  
operator?

example:
f x $ y z would be equivalent to f x (y z)
or
print_endline $ string_of_int x would be equivalent to print_endline  
(string_of_int x)

Thanks,

-- 
Best Regards,
Quôc