Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: -- (:)
From: Tom <tom.primozic@g...>
Subject: Re: [Caml-list] What is "principal typing"?

On 21/12/06, Jeff Polakow <> 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