package dune

  1. Overview
  2. Docs
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.