package melange

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

Install

Dune Dependency

Authors

Maintainers

Sources

melange-5.0.1-414.tbz
sha256=f06d711405ef0b0dbedf68b4b9e857b45b99ba731adcaf183b58aab48c6ec282
sha512=49c974fcac26d57d89b9549788c5ef3b59afeb760ce455895e623ec8f47b77da83c6bc84997c09d5cc7c56f13bb90debc7627679d957b41f0c148600d7b03fb3

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.