News for hackers. Stuff that matters.
Re:Teach yourself Computer Science functionally by still_grokking on Wednesday June 14, 2023 @03:16AM (#36322552)
> The fact that you cannot interact with the real world without wrapping side effects

That has nothing to do with FP.

That's mostly a Haskell (and the-like) thing.

"Hello world" looks in for example in OCaml like this: `print_string "Hello world!\n"`. You can interact with the outside world just fine without any "side-effect wrapping".

There are no comments on this comment yet.