Ashley Yakeley wrote:
> This seems to be stretching the concept of 'subtype'.
I don't think so, this is the essence of subtyping.
> Sorry if I sound so bitter and disappointed. I was hoping for a Haskell
> extended with real dynamic subtyping...
You seem to want dynamic type tests. This is another feature, and
sometimes a useful one. But it requires carrying around types at
runtime.
You might want to look at existential types; it is a similar feature.
-- Lennart
_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe
- Re: O'Haskell OOP Polymorphic Functions Tom Pledger
- Re: O'Haskell OOP Polymorphic Functions Ashley Yakeley
- Re: O'Haskell OOP Polymorphic Functions Tom Pledger
- Re: O'Haskell OOP Polymorphic Functions Ashley Yakeley
- Re: O'Haskell OOP Polymorphic Functions Johan Nordlander
- Re: O'Haskell OOP Polymorphic Functions Ashley Yakeley
- Re: O'Haskell OOP Polymorphic Functions Lennart Augustsson
- Re: O'Haskell OOP Polymorphic Functions Ashley Yakeley
- Re: O'Haskell OOP Polymorphic Functions Fergus Henderson
- Re: O'Haskell OOP Polymorphic Functions Ashley Yakeley
- Re: O'Haskell OOP Polymorphic Functions Fergus Henderson
- Re: O'Haskell OOP Polymorphic Functions Marcin 'Qrczak' Kowalczyk
- Re: O'Haskell OOP Polymorphic Functions Fergus Henderson
