Module Expr.Pattern

type litType =
  1. | Int
  2. | Real
  3. | Imaginary
  4. | Str
val sexp_of_litType : litType -> Sexplib0.Sexp.t
val litType_of_sexp : Sexplib0.Sexp.t -> litType
val hash_fold_litType : Ppx_hash_lib.Std.Hash.state -> litType -> Ppx_hash_lib.Std.Hash.state
val hash_litType : litType -> Ppx_hash_lib.Std.Hash.hash_value
val compare_litType : litType -> litType -> int
type 'a t =
  1. | Var of string
  2. | Lit of litType * string
  3. | FunApp of 'a Fun_kind.t * 'a list
  4. | TernaryIf of 'a * 'a * 'a
  5. | EAnd of 'a * 'a
  6. | EOr of 'a * 'a
  7. | Indexed of 'a * 'a Index.t list
  8. | Promotion of 'a * UnsizedType.t * UnsizedType.autodifftype
  9. | TupleProjection of 'a * int
val map : ('a -> 'b) -> 'a t -> 'b t
val fold : ('b -> 'a -> 'b) -> 'b -> 'a t -> 'b
include Sexplib0.Sexpable.S1 with type 'a t := 'a t
val t_of_sexp : (Sexplib0__.Sexp.t -> 'a) -> Sexplib0__.Sexp.t -> 'a t
val sexp_of_t : ('a -> Sexplib0__.Sexp.t) -> 'a t -> Sexplib0__.Sexp.t
include Ppx_hash_lib.Hashable.S1 with type 'a t := 'a t
val hash_fold_t : 'a Base__Ppx_hash_lib.hash_fold -> 'a t Base__Ppx_hash_lib.hash_fold
include Ppx_compare_lib.Comparable.S1 with type 'a t := 'a t
val compare : 'a Base__Ppx_compare_lib.compare -> 'a t Base__Ppx_compare_lib.compare