[Haskell-cafe] extensible records - Vinyl - alternatives?
Alberto G. Corona
agocorona at gmail.com
Mon May 5 09:10:35 UTC 2014
First, sorry for parasitizing this thread with this unrelated subject.
Tom,
The OOHaskell paper gives encapsulation. mutable state, inheritance,
overriding, It uses haskell type safety to the limit, and virtual methods
among other things. That is more than what most OO languages can offer
(specially type checking)
These things are important in the mind of the OO people. Type classes while
providing other different and more powerful advantages, do not cover these
requirements. They are also very important for translating without pain,
many tons of object oriented code to Haskell.
2014-05-05 10:36 GMT+02:00 Tom Ellis <
tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk>:
> On Mon, May 05, 2014 at 10:15:30AM +0200, Alberto G. Corona wrote:
> > The OOHaskell solution, that uses HList, is a better Object oriented
> > system than the Object system in many OO languages.
>
> That's very interesting. Could you say a bit more about why?
>
> Tom
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
--
Alberto.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140505/2d057f41/attachment.html>
More information about the Haskell-Cafe
mailing list