package reason

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

Install

Dune Dependency

Authors

Maintainers

Sources

reason-3.9.0.tbz
sha256=bcf0081ecf3d05ce68e82876a1bc2a48497c78225b8b310f2cf24b33f3568416
sha512=388a0d8970b83423bb79978e4df3a558c27e043fc216a8d288ca7aab9babd8a3db45219ba53c9db09d791c07017f26ceba3a7d714c8ce9bf369d2e8b796d6d81

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
OCaml

Innovation. Community. Security.