package GuaCaml

  1. Overview
  2. Docs
type !'a t = Tree.stree -> 'a
val leaf : 'a OfS.t -> 'a t
val map : ('a -> 'b) -> 'a t -> 'b t
val string : string t
val option : 'a t -> 'a option t
val list : 'a t -> 'a list t
val array : 'a t -> 'a array t
val unit : unit t
val bool : bool t
val int : int t
val float : float t
val pair : 'a t -> 'b t -> ('a * 'b) t
val (*) : 'a t -> 'b t -> ('a * 'b) t
val trio : 'a t -> 'b t -> 'c t -> ('a * 'b * 'c) t
val quad : 'a t -> 'b t -> 'c t -> 'd t -> ('a * 'b * 'c * 'd) t
val file : Tree.stree list -> string -> unit
val print : Tree.stree list -> unit
val pprint : Tree.stree list -> unit
val to_bytes : Tree.stree -> bytes
val to_string : Tree.stree -> string
OCaml

Innovation. Community. Security.