back

by eatonphil·10y ago·view on hn ↗
So why Haskell and not, for instance, SML? I guess SML is not necessarily pure, but it certainly a much simpler language than Haskell.
3 comments
Without purity, you have the power to express a lot more, burdening the reader.

Purity lets you easily and arbitrarily constrain a function or program -- easing the burden for the reader who is free to assume so much more about what they read.

SML can do this well with embedded DSLs, but effect typing is a powerful tool for this idea.
Simplicity means power, that's the problem.