package melange

  1. Overview
  2. Docs
Toolchain to produce JS from Reason/OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

melange-5.1.0-53.tbz
sha256=f7aac30f3ba5feff8373e2164cdb5b38a59457cadfec74b564c2b62d035ca4a9
sha512=39a0b7430035b5355bad4f42fb07d719da56e457d78399fc34c38e5eeb6e5e5259f06a1209dc00325818e3dc1dd9a5988f6a25c106d2ee0ee2033ab9074791cd

doc/melange.js_parser/Js_parser/Parser_env/Try/index.html

Module Parser_env.TrySource

Sourcetype 'a parse_result =
  1. | ParsedSuccessfully of 'a
  2. | FailedToParse
Sourceexception Rollback
Sourceval to_parse : env -> (env -> 'a) -> 'a parse_result
Sourceval or_else : env -> fallback:'a -> (env -> 'a) -> 'a
OCaml

Innovation. Community. Security.