Version franaise
Home About Download Resources Contact us
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: -- (:)
From: Quc_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,
Quc