Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] infix precedence
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-05-28 (15:42)
From: dengping zhu <zhudp@c...>
Subject: [Caml-list] infix precedence
Hi, all, I have a question about the precedence of infix in ocaml.
I define a few infixes as follow:

let (^^) x y = ...
let (^+) x y = ...
let (^<) x y = ...

Now how can I define the precedence of them?  At first, I want to use
brackets to solve it, but later I find out it is almost impossible because
there are a lot of recursive functions and combination of these infixes. 

Can you give me any idea?
Thanks a lot!

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: