So why Haskell and not, for instance, SML? I guess SML is not necessarily pure, but it certainly a much simpler language than Haskell.
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.
Re:We need less powerful languages
by TazeTSchnitzel on Saturday November 14, 2015 @06:35PM
(#10567781)
Simplicity means power, that's the problem.
In short, this is, to me, one of the most important principles of programming.