| Thread overview | |||||
|---|---|---|---|---|---|
|
November 19, 2001 Templates and the Hindley-Milner type system | ||||
|---|---|---|---|---|
| ||||
How about using the Hindley-Milner type system? Then you wouldn't need templates. Thiago | ||||
November 19, 2001 Re: Templates and the Hindley-Milner type system | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Thiago F.G. Albuquerque | "Thiago F.G. Albuquerque" <tfga@zaz.com.br> wrote in message news:3BF93011.7EF83D5@zaz.com.br... > How about using the Hindley-Milner type system? Then you wouldn't need templates. I'm not familiar with that system. Could you please describe it in more details? | |||
November 23, 2001 Re: Templates and the Hindley-Milner type system | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Pavel Minayev | Pavel Minayev wrote:
> > How about using the Hindley-Milner type system? Then you wouldn't need templates.
>
> I'm not familiar with that system.
> Could you please describe it in more details?
I don't know much about it, either. It is the type system of Haskell. Haskell has static type checking and parametric polymorphism without the use of templates. So I thought it could be a good alternative to templates in D.
The problem is that I don't know if Hindley-Milner can be used with an imperative language. But I think it is worth investigating.
Other languages that use Hindley-Milner are ML and Miranda.
Thiago
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply