Re:Type checking in Python
by crux on Sunday May 18, 2014 @01:15PM
(#7763590)
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?
[ Parent
| on HN ]
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]).
Re:Type checking in Python
by frowaway001 on Monday May 19, 2014 @07:13AM
(#7766861)
Scala (although it has limited type inference to require people to specify at least the inputs to methods for readability).