Hacker News new | ask | show | jobs
by raould42 3771 days ago
i thought ocaml ain't pure like that?
2 comments

There are a couple of monadic IO systems for Ocaml - Lwt and Async which are pretty commonly used - and enable writing code using typed mutation/side effects.
You thought right. Ocaml is an impure functional language.