[
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: | 2003-11-17 (15:55) |
From: | Falk Hueffner <falk.hueffner@s...> |
Subject: | Re: [Caml-list] Limits on operator-style function names? |
Richard Jones <rich@annexia.org> writes: > I'm trying to find out what the limits are on the names of operator > functions (ie. val ( := ) : ...) > > What are the rules for this? see the manual, 6.1 Lexical conventions infix-symbol ::= (= | < | > | @ | ^ | | | & | + | - | * | / | $ | %) { operator-char } prefix-symbol ::= (! | ? | ~) { operator-char } operator-char ::= ! | $ | % | & | * | + | - | . | / | : | < | = | > | ? | @ | ^ | | | ~ i.e., the first char determines the arity, and then you can freely append random letters. -- Falk ------------------- 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