Browse thread
[Caml-list] Q: Correct locations for macro camlp4 extensions
[
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: | 2004-08-23 (17:21) |
From: | Michael Alexander Hamburg <hamburg@f...> |
Subject: | Re: [Caml-list] Q: Correct locations for macro camlp4 extensions |
Which Haskell operator features does this emulate? I know you can make an operator without any camlp4 that does right-associative application, basically let (@@) f x = f x. Does this do it with less overhead? Or does it enable expressions like (/ 5) or (+ 3) as in Haskell (that would be cool...)? Mike Quoting Jan Kybic <kybic@fel.cvut.cz>: > Hello, > I quite like some of the OCaml syntax extensions implemented > with campl4 that I gathered so far, for example: ... > operator composition (like "$" in Haskell) ... > Jan > > -- > ------------------------------------------------------------------------- > Jan Kybic <kybic@ieee.org> tel. +420 2 2435 7264 > or <kybic@fel.cvut.cz>, http://cmp.felk.cvut.cz/~kybic > ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners