[Haskell-cafe] Object oriented haskell.

Richard A. O'Keefe ok at cs.otago.ac.nz
Thu May 15 23:00:25 UTC 2014


On 16/05/2014, at 8:17 AM, Alberto G. Corona wrote:

> Which is an excellent haskell framework for OO programming in
> haskell but desperately need some kind of syntactic sugar to
> attract the OO peple.

Do we *want* to attract them?  Why?
> 
> In  the goal of making Haskell mainstream, it would be definitive
> to make haskell the best OO language besides the best imperative
> one.

To make Haskell "mainstream", you have to make it just like
conventional C-family languages, only maybe 1% different.

The whole *POINT* of Haskell is to facilitate a whole different
way of thinking about programming.

The more you make it resemble "mainstream" languages in order
to encourage "the OO peple" to adopt it, the less benefit they
will get from doing so.

If you just wait a bit, Java 28 will probably have monads and lenses.



More information about the Haskell-Cafe mailing list