Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Are there languages that include the strong type checking, inference, and typeclass functionality of Haskell while also being a little more forgiving in terms of purity, so that writing ordinary programs is not quite so troublesome as in Haskell?


Rust has a decent amount of type inference, traits and strong guarantees.

Ocaml/SML are both functional languages similar to haskell, and allow IO pretty much anywhere. They don't have typeclasses, (although ML people would say there's nothing you can't do with the ML module system[0]).

[0]http://lambda-the-ultimate.org/node/1558


Scala (although it has limited type inference to require people to specify at least the inputs to methods for readability).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: