package spin

  1. Overview
  2. Docs
type t =
  1. | Var of string
  2. | Function of func
  3. | String of string
and func =
  1. | If of t * t * t
  2. | And of t * t
  3. | Or of t * t
  4. | Eq of t * t
  5. | Neq of t * t
  6. | Not of t
  7. | Slugify of t
  8. | Upper of t
  9. | Lower of t
  10. | Snake_case of t
  11. | Camel_case of t
  12. | Run of t * t list
  13. | Trim of t
  14. | First_char of t
  15. | Last_char of t
  16. | Concat of t list
val decode : Sexplib.Sexp.t -> (t, Decoder.error) Stdlib.result
val decode_fn1 : sexp:Sexplib.Sexp.t -> ctor:(t -> func) -> string -> Sexplib.Sexp.t list -> (t, Decoder.error) Stdlib.result
val decode_fn2 : sexp:Sexplib.Sexp.t -> ctor:(t -> t -> func) -> string -> Sexplib.Sexp.t list -> (t, Decoder.error) Stdlib.result
val decode_fn3 : sexp:Sexplib.Sexp.t -> ctor:(t -> t -> t -> func) -> string -> Sexplib.Sexp.t list -> (t, Decoder.error) Stdlib.result
OCaml

Innovation. Community. Security.