Damas-Milner, Hindley-Milner, ...

1997-10-15 Thread Frank Christoph
Briefly, what is the difference between Damas-Milner and Hindley-Milner typing? Are they different inferencing algorithms, or is it something like the notion of principal types is due to Damas and Milner whereas the inferencing algorithm itself is due to Hindley and Milner? It seems to me that I

Re: Damas-Milner, Hindley-Milner, ...

1997-10-15 Thread Benedict R. Gaster
Hi, Peter Thiemann writes: > The type inference algorithm is already presented in Milner's paper > [Milner1978] along with a soundness proof. > Damas [DamasMilner1982] proved the completeness of the algorithm and > the fact that the algorithm computes principal types, i.e., suppose > the algori

Re: Damas-Milner, Hindley-Milner,...

1997-10-15 Thread Stefan Kahrs
christo> It seems to me that I hear "Damas-Milner" mentioned more often in ML circles, christo> but "Hindley-Milner" more often with regard to Haskell... Just briefly adding to Peter Thiemann's explanation, Damas's PhD thesis also contained a type-system for type-checking impure functional progr

Re: Damas-Milner, Hindley-Milner, ...

1997-10-15 Thread Philip Wadler
Briefly, what is the difference between Damas-Milner and Hindley-Milner typing? None. They are different names for the same thing. The actual algorithm was discovered a number of times. Hindley wrote a history of it, which I don't have to hand. He notes that it had already been implemente

Re: Damas-Milner, Hindley-Milner, ...

1997-10-15 Thread Peter Thiemann
Frank> Briefly, what is the difference between Damas-Milner and Hindley-Milner Frank> typing? Are they different inferencing algorithms, or is it something like Frank> the notion of principal types is due to Damas and Milner whereas the Frank> inferencing algorithm itself is due t