package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 4.13.0

Install

Dune Dependency

Authors

Maintainers

Sources

4.13.0.tar.gz
sha256=d3eaf17fcd8722827ae15c560a419ee52cf7e066f1d6cb80df621bfd3a17d61c

doc/stdlib/Stdlib/StdLabels/index.html

Module Stdlib.StdLabels

Standard labeled libraries.

This meta-module provides versions of the Array, Bytes, List and String modules where function arguments are systematically labeled. It is intended to be opened at the top of source files, as shown below.

  open StdLabels

  let to_upper = String.map ~f:Char.uppercase_ascii
  let seq len = List.init ~f:(function i -> i) ~len
  let everything = Array.create_matrix ~dimx:42 ~dimy:42 42
module Array = ArrayLabels
module Bytes = BytesLabels
module List = ListLabels
module String = StringLabels
OCaml

Innovation. Community. Security.