Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718type t(** An effect type definition, created with {!define}. *)
include Jv.CONV with type t := t
val define : unit -> t(** [define ()] creates a new effect type. *)
val of_ : t -> Jv.t -> Jv.t(** [of_ effect_type value] creates an effect instance carrying [value]. *)
val is : Jv.t -> t -> bool(** [is instance effect_type] returns [true] if [instance] was created from [effect_type]. *)
val value : Jv.t -> Jv.t(** [value instance] returns the value carried by an effect instance. *)