package dune

  1. Overview
  2. Docs
Fast, portable and opinionated build system

Install

Dune Dependency

Authors

Maintainers

Sources

dune-build-info-1.11.4.tbz
sha256=77cb5f483221b266ded2b85fc84173ae0089a25134a086be922e82c131456ce6
sha512=02f00fd872aa49b832fc8c1e928409f23c79ddf84a53009a58875f222cca36fbb92c905e12c539caec9cbad723f195a8aa24218382dca35a903b3f52b11f06f2

doc/dune._dune_lang/Dune_lang/Encoder/index.html

Module Dune_lang.Encoder

type 'a t = 'a -> t
val unit : unit t
val char : char t
val string : string t
val int : int t
val float : float t
val bool : bool t
val pair : 'a t -> 'b t -> ('a * 'b) t
val triple : 'a t -> 'b t -> 'c t -> ('a * 'b * 'c) t
val list : 'a t -> 'a list t
val array : 'a t -> 'a array t
val option : 'a t -> 'a option t
val sexp : t t
val record : (string * t) list -> t
type field
val field : string -> 'a t -> ?equal:('a -> 'a -> bool) -> ?default:'a -> 'a -> field
val field_o : string -> 'a t -> 'a option -> field
val field_b : string -> bool -> field
val field_l : string -> 'a t -> 'a list -> field

Field with inlined list as value

val field_i : string -> ('a -> t list) -> 'a -> field

Same as field_l but to represent a single value

val record_fields : field list -> t list
val unknown : _ t
OCaml

Innovation. Community. Security.