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
What is "principal typing"?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-12-21 (06:42)
From: Tom <tom.primozic@g...>
Subject: Re: [Caml-list] What is "principal typing"?

On 21/12/06, Jeff Polakow <jeff.polakow@db.com> wrote:
> Principal types, which ML has, are useful because, for a given context,
> there is a most general type for any typeable term. This is a useful
> property to have for languages which attempt type inference.

Could you give some concrete example of a type inference engine and a
typable term, but which does not have a principal type?

- Tom