Browse thread
[Caml-list] Observations on OCaml vs. Haskell
[
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: | -- (:) |
| From: | skaller <skaller@u...> |
| Subject: | Re: [Caml-list] Observations on OCaml vs. Haskell |
On Tue, 2004-09-28 at 06:24, Rafael 'Dido' Sevilla wrote: > On Mon, Sep 27, 2004 at 02:08:51PM -0500, John Goerzen wrote: > Performance again. The reason why there are so many numeric types in > OCaml is performance. Also it is related to compatibility with external libraries. > The compiler could very easily make the arithmetic operators polymorphic, > and constrain the operands to be of the same (numeric) type G'Caml generics would handle this easily, without need to 'kludge' the Ocaml compiler. -- John Skaller, mailto:skaller@users.sf.net voice: 061-2-9660-0850, snail: PO BOX 401 Glebe NSW 2037 Australia Checkout the Felix programming language http://felix.sf.net ------------------- 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