Haskell programs side effect all the time, there's no prohibition or even cultural aversion to effects. The only "effect"-related thing we really avoid is the way in many languages one uses the stack, the heap, and static memory as a myriad of little ad hoc in-process databases.
-
-
I don't see the point in calling something an "effect" just because a functor is involved. If list concatenation wasn't an effect here λ> [1,2] ++ [3,4] [1,2,3,4] Then why it is it an effect here? λ> Failure [1,2] *> Failure [3,4] Failure [1,2,3,4]
-
I could agree to this argument. I'm just saying you now need a way to say that IO is as side-effecting as [].
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.