4 ms·
What do you mean by a 'fundamentally impure concept'?
by Kinnard 9y ago
What do you mean by a 'fundamentally impure concept'?
- quickthrower2 9y agoNot the OP but maybe he means there are side effects. Of course Haskell can side effects that is one of the big misconceptions.
- cyphar 9y agoImpure as in "has side-effects". An append-only state that is used for synchronisation between different machines by definition has side-effects. Of course, you can have side-effects in Haskell, I just thought it was an interesting choice.
- tree_of_item 9y agoHaskell takes a stand against implicit side-effects, letting you see what a function is capable of doing in its type. It's really weird to suggest that performing side-effects in such a language is strange or awkward or cute or whatever. Doing those things is the whole point of writing programs.