package reason

  1. Overview
  2. Docs
Reason: Syntax & Toolchain for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

reason-3.18.0.tbz
sha256=4fba6a16f54551b78e1d90eb2c167f6ee964caf5383bc2d2f93ceccc7e64dc44
sha512=b43e9245c79c3aaef494ba55027187f86884fbcff87aca77743b5c3d81ef7d5156f34c650c3cfb40719cf7ca87750c591fe338b21f82d4feed7092e47cb6880d

doc/src/reason.ocaml-migrate-parsetree/stdlib0.ml.html

Source file stdlib0.ml

1
2
3
4
5
6
7
8
9
10
module Int = struct
  let to_string = string_of_int
end

module Option = struct
  let map f o =
    match o with
    | None -> None
    | Some v -> Some (f v)
end