package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-7.0.1-55.tbz
sha256=8377c0860da82528ebde16a0133f270c1a03de35036bd44bbd8cfb87070a7afb
sha512=a33c1979f9928c9189d519cbc367b40cc9c0735f29735ef0f1ee5e66c204cf73b8a418ed85cb39442637a3369d3287a8c712a9e747c22bb7d0ac3daae59e6bd8

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