package spin

  1. Overview
  2. Docs
exception Invalid_expr of Spin_std.string
val eval : context:(Spin_std.string, Spin_std.string) Spin_std.Hashtbl.t -> Dec_template.Expr.t -> Spin_std.string Lwt.t
val eval_fn : context:(Spin_std.string, Spin_std.string) Spin_std.Hashtbl.t -> Dec_template.Expr.func -> Spin_std.string Lwt.t
val to_bool : context:(Spin_std.string, Spin_std.string) Spin_std.Hashtbl.t -> Dec_template.Expr.t -> Spin_std.bool Lwt.t
val to_result : context:'a -> f:(context:'a -> 'b -> 'c Lwt.t) -> 'b -> ('c, Spin_error.t) Spin_std.result Lwt.t
val filter_map : context:(Spin_std.string, Spin_std.string) Spin_std.Hashtbl.t -> condition:('a -> Dec_template.Expr.t option) -> f:('a -> 'b) -> 'a Spin_std.List.t -> ('b list, Spin_error.t) Lwt_result.t
val lwt_filter_map : context:(Spin_std.string, Spin_std.string) Spin_std.Hashtbl.t -> condition:('a -> Dec_template.Expr.t option) -> f:('a -> 'b Lwt.t) -> 'a Spin_std.List.t -> ('b list, Spin_error.t) Lwt_result.t
OCaml

Innovation. Community. Security.