I don't understand Purescript concepts like Effect and Monad yet, so
it's saved for other projects :)
ReScript is a better choice here as it's "functional" enough (just
ignore ref() and loops), with eaiser syntaxes to learn (OCaml-like
instead of Haskell-like) and integrates better with NodeJS and npm
ecosystem (no need to define bindings in a separate JS file).