package spin

  1. Overview
  2. Docs
type command = {
  1. name : Spin_std.string;
  2. args : Spin_std.string Spin_std.list;
}
type action =
  1. | Run of command
  2. | Refmt of Expr.t Spin_std.list
type t = {
  1. actions : action Spin_std.list;
  2. message : Expr.t Spin_std.option;
  3. enabled_if : Expr.t Spin_std.option;
}
val decode_refmt_action : Spin_std.Sexp.t -> (action, Decoder.error) Spin_std.Result.t
val decode_action : action Decoder.t
val decode : Spin_std.Sexp.t -> (t, Spin__Decoder.error) Spin_std.Result.t
OCaml

Innovation. Community. Security.