package melange

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

Install

Dune Dependency

Authors

Maintainers

Sources

melange-3.0.0-51.tbz
sha256=1ebcf29c95ccea9f40e1f39192ae5a37fba9c64768f9ff8f998ff011415fe947
sha512=97da717b0446a7527b43c785676933a1e6974d2cf747ace68e6de5c120d03dc196ae706fef20e4139c6090036d10c350fc9b6bd093bd8a7092d0275ae56f3777

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.