package yocaml

  1. Overview
  2. Docs

Inject Injectable data into a String using a templating strategy.

type t
val to_string : ?strict:bool -> (string * t) list -> string -> string
include Key_value.DESCRIBABLE with type t := t

Types

Constructors

val object_ : (string * t) list -> t

Produces an object indexed by string.

val list : t list -> t

Produces a list of t.

val string : string -> t

Produces a String.

val boolean : bool -> t

Produces a Booelan.

val integer : int -> t

Produces an Integer.

val float : float -> t

Produces a Float.

val atom : string -> t

Produces an Atom.

val null : t

Produces a Null value.

OCaml

Innovation. Community. Security.