package dune

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

Install

Dune Dependency

Authors

Maintainers

Sources

dune-1.6.3.tbz
sha256=bfd52160d88578c404af1267abfba6eb4928988e51aef0e92dbebdea1607ae36
md5=1212a36547d25269675d767c38fecf5f

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

Module Dune_lang.Encoder

include Stdune.Sexp_intf.Combinators with type 'a t = 'a -> t
type 'a t = 'a -> t
val unit : unit 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 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_l : string -> 'a t -> 'a list -> field

Field with inlined list as value

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

Innovation. Community. Security.