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
Constructors are not functions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-10-06 (14:50)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] Constructors are not functions
On Tuesday 06 October 2009 15:04:02 David Allsopp wrote:
> That's not the case at all - there'd be no reason not to interpret [bar] as
> [fun x y -> Bar(x, y)] for [Bar of int * int].

The reason is that it is a PITA. :-)

Dr Jon Harrop, Flying Frog Consultancy Ltd.