English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Observations on OCaml vs. Haskell
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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?


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