Browse thread
[Caml-list] Why are type functions postfix?
-
tim@f...
- Vitaly Lugovsky
-
Xavier Leroy
-
Sven LUTHER
- Xavier Leroy
-
Sven LUTHER
[
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-23 (13:58) |
From: | Xavier Leroy <xavier.leroy@i...> |
Subject: | Re: [Caml-list] Why are type functions postfix? |
> Is it not because in the type notation, int ref is similar to int list, > while in the function application, ref 3 is similar to a constructor > application like Some 3 for example ? Yes, of course. But the original question was: all function or data constructor applications (in expressions) are prefix, while type constructor applications (in type expressions) are postfix; why? Answer: ask Robin Milner :-) - Xavier Leroy ------------------- 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