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: | 2004-09-29 (14:24) |
From: | Jon Harrop <jon@j...> |
Subject: | Re: [Caml-list] Observations on OCaml vs. Haskell |
On Wednesday 29 September 2004 15:26, Brian Hurt wrote: > This gets tricky, I would think. One thing I don't want to lose is the > ability to make ('a -> 'b) list types. Comparing two functions is > obviously bogus, but in most other places being able to handle both > functions and data is a usefull thing. What if the compilers flagged a warning when the polymorphic comparisons were used either on types containing functions or on abstract types? Cheers, Jon. ------------------- 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