3 ms·
Impure 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
by cyphar 9y ago
Impure 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.