Sugared javascript imitating the form of Haskell & OCaml