package dolmen_model

  1. Overview
  2. Docs

Module Dolmen_model.ValueSource

Type definitions

************************************************************************

Sourcetype t
Sourcetype 'a ops
Sourcetype any_ops =
  1. | Ops : _ ops -> any_ops
Sourceexception Extraction_failed of t * any_ops
Sourceval dummy : t
Sourceval mk : ops:'a ops -> 'a -> t
Sourceval extract : ops:'a ops -> t -> 'a option
Sourceval extract_exn : ops:'a ops -> t -> 'a

Custom operations

************************************************************************

Sourceval ops : ?abstract:(Dolmen.Std.Expr.Term.Const.t -> 'a) -> compare:('a -> 'a -> int) -> print:(Format.formatter -> 'a -> unit) -> unit -> 'a ops
Sourceval print : Format.formatter -> t -> unit
Sourceval compare : t -> t -> int

Sets and Maps

************************************************************************

Sourcemodule Set : Set.S with type elt = t
Sourcemodule Map : Map.S with type key = t
OCaml

Innovation. Community. Security.