package spin

  1. Overview
  2. Docs
type 'a t = 'a -> Spin_std.Sexp.t
val string : Spin_std.string t
val int : Spin_std.int t
val float : Spin_std.float t
val bool : Spin_std.bool t
val null : Spin_std.Sexp.t
val nullable : 'a t -> 'a Spin_std.option t
val list : 'a t -> 'a Spin_std.list t
val obj : (Spin_std.string * Spin_std.Sexp.t) Spin_std.list t
val encode_sexp : f:'a t -> 'a -> Spin_std.Sexp.t
val encode_string : f:'a t -> 'a -> Spin_std.string
val encode_sexps_string : f:'a t -> 'a -> Spin_std.string
val encode_file : f:'a t -> path:Spin_std.string -> 'a -> Spin_std.unit
OCaml

Innovation. Community. Security.