Version française
Home     About     Download     Resources     Contact us    
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"?
Thanks!

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