2 ms·
> it attempts to appear imperative to be palatable to more people I doubt that was the reasoning, given the Haskell slogan of "Avoid success at all costs". Im
by goto11 7y ago
> it attempts to appear imperative to be palatable to more people
I doubt that was the reasoning, given the Haskell slogan of "Avoid success at all costs".
Imperative is most natural when you have mutable state and side effect. Haskell does not deny that. But even imperative languages (anything above assembler) have both statements and expressions. Haskell just tries to move as much as possible to expressions, and reduce and isolate mutable state and side effects.