Browse thread
right-associating infix application operator camlp4 extension
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Christian Lindig <lindig@g...> |
| Subject: | Re: [Caml-list] right-associating infix application operator camlp4 extension |
Am 07.08.2005 um 01:03 schrieb Quôc Peyrot: > Is there any existing camlp4 extensions to define a $ haskell-like > operator? You don't need CamlP4 for this. You could define in OCaml: let (@@) f x = f x Now you can write: print_endline @@ string_of_int x -- Christian