package um-abt

  1. Overview
  2. Docs

Module Syntax.OpSource

Sourcetype 'a t

The type of the operator, usually represented as a sum type.

Each operator should be have the form

  Foo of 'a * 'a * ... * 'a

Where the free variables 'a are arguments to the operator Foo.

include Sexplib0.Sexpable.S1 with type 'a t := 'a t
Sourceval t_of_sexp : (Sexplib0.Sexp.t -> 'a) -> Sexplib0.Sexp.t -> 'a t
Sourceval sexp_of_t : ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.t
Sourceval map : ('a -> 'b) -> 'a t -> 'b t
Sourceval equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool
Sourceval fold : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a
Sourceval to_string : string t -> string