Browse thread
Custom operators in the revised syntax
[
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: | brogoff <brogoff@s...> |
| Subject: | Re: [Caml-list] Custom operators in the revised syntax |
On Fri, 11 May 2007, Nicolas Pouillard wrote: > This seems reasonable, but that's more a guideline. The feature can be > present for that wants it. Moreover Camlp4 is about changing the > syntax, so one can buy the revised syntax without the fact of patching > syntaxes but features are here. Any chance we could have something like in Haskell where you easily define new infix names? Speaking of Haskell and Revised, one of the things I like about Revised over Ocaml syntax (that lots of people dislike it seems) is the additional bracketing. Most of the syntactical annoyances I have with Ocaml are usually connected with bracketing. Someone once quipped that all problems with ML syntax can be fixed with some parentheses, and I have to admit that quip makes sense. So I prefer Revised as an alternative syntax over Python/Haskell influenced approaches. -- Brian