Is there an imperative language with a Haskell-like type system?
Posted
by
Graham Kaemmer
on Programmers
See other posts from Programmers
or by Graham Kaemmer
Published on 2014-06-10T14:50:34Z
Indexed on
2014/06/10
15:39 UTC
Read the original article
Hit count: 170
I've tried to learn Haskell a few times over the last few years, and, maybe because I know mainly scripting languages, the functional-ness of it has always bothered me (monads seem like a huge mess for doing lots of I/O). However, I think it's type system is perfect.
Reading through a guide to Haskell's types and typeclasses (like this), I don't really see a reason why they would require a functional language, and furthermore, they seem like they would be perfect for an industry-grade object-oriented language (like Java). This all begs the question: has anyone ever taken Haskell's typing system and made a imperative, OOP language with it?
If so, I want to use it.
© Programmers or respective owner