From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA18407; Tue, 28 May 2002 17:42:34 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA18472 for ; Tue, 28 May 2002 17:42:33 +0200 (MET DST) Received: from cs.bu.edu (cs.bu.edu [128.197.12.2]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g4SFgWv19859 for ; Tue, 28 May 2002 17:42:32 +0200 (MET DST) Received: from csa.bu.edu (zhudp@csa [128.197.12.3]) by cs.bu.edu (8.12.2/8.12.2) with ESMTP id g4SFgVF2001276 for ; Tue, 28 May 2002 11:42:31 -0400 (EDT) Received: from localhost (zhudp@localhost) by csa.bu.edu (8.10.1/8.10.1) with ESMTP id g4SFgRx00294 for ; Tue, 28 May 2002 11:42:27 -0400 (EDT) X-Authentication-Warning: csa.bu.edu: zhudp owned process doing -bs Date: Tue, 28 May 2002 11:42:27 -0400 (EDT) From: dengping zhu X-Sender: zhudp@csa.bu.edu To: Ocaml Subject: [Caml-list] infix precedence Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 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