spin

OCaml project generator
Library spin
Module Spin . Dec_template . Expr
type t =
| Var of string
| Function of func
| String of string
and func =
| If of t * t * t
| And of t * t
| Or of t * t
| Eq of t * t
| Neq of t * t
| Not of t
| Slugify of t
| Upper of t
| Lower of t
| Snake_case of t
| Camel_case of t
| Run of t * t list
| Trim of t
| First_char of t
| Last_char of t
| Concat of t list
val decode : Sexplib.Sexp.t -> ( t, Decoder.error ) result
val decode_fn1 : sexp:Sexplib.Sexp.t -> ctor:( t -> func ) -> string -> Sexplib.Sexp.t list -> ( t, Decoder.error ) result
val decode_fn2 : sexp:Sexplib.Sexp.t -> ctor:( t -> t -> func ) -> string -> Sexplib.Sexp.t list -> ( t, Decoder.error ) result
val decode_fn3 : sexp:Sexplib.Sexp.t -> ctor:( t -> t -> t -> func ) -> string -> Sexplib.Sexp.t list -> ( t, Decoder.error ) result