Browse thread
[Caml-list] Why are type functions postfix?
[
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: | 2002-08-12 (19:05) |
From: | tim@f... |
Subject: | [Caml-list] Why are type functions postfix? |
In OCAML and other ML dialects I've used, you say: let x: int ref = ref 3 Is there any reason that type functions like the first "ref" are postfix, unlike function application like the second "ref" that is prefix? If it's just history and there's no good reason, that's fine by me. I'm just curious. -- Tim Freeman tim@fungible.com GPG public key fingerprint ECDF 46F8 3B80 BB9E 575D 7180 76DF FE00 34B1 5C78 ------------------- 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