package archetype

  1. Overview
  2. Docs

Module Archetype.Gen_reduceSource

Sourceexception Anomaly of string
Sourcetype error_desc =
  1. | UnsupportedContainer of string
  2. | UnsupportedType of string
  3. | RecordNotFound
  4. | NotSupportedType of string
Sourceval emit_error : error_desc -> 'a
Sourceval storage_lident : Model.lident
Sourceval storage_var : Model.mterm
Sourceval operations_lident : Model.lident
Sourceval operations_type : Model.type_
Sourceval operations_var : Model.mterm
Sourceval operations_init : Model.mterm
Sourceval operations_storage_type : Model.type_
Sourceval operations_storage_var : Model.mterm
Sourceval is_fail : Model.mterm -> Model.mterm option -> bool
Sourcetype s_red = {
  1. with_ops : bool;
  2. subs : (Ident.ident * Model.type_) list;
}
Sourcetype ctx_red = {
  1. local_fun_types : (Ident.ident * Model.type_) list;
  2. vars : (Ident.ident * Model.type_) list;
  3. target : Model.mterm option;
}
Sourceval compute_side_effect_aux : ctx_red -> (Ident.ident * Model.type_) list -> Model.lident Model.mterm_gen -> (Ident.ident * Model.type_) list
Sourceval compute_side_effect : ctx_red -> Model.mterm -> (Ident.ident * Model.type_) list
Sourceval compute_side_effect_for_list : ctx_red -> Model.mterm list -> (Ident.ident * Model.type_) list
Sourceval process_non_empty_list_term : ctx_red -> s_red -> Model.mterm list -> Model.mterm * s_red
Sourceval process_body : ctx_red -> Model.mterm -> Model.mterm
Sourceval analyse_type : Model.mterm -> Model.type_
Sourceval process_functions : Model.model -> Model.model
OCaml

Innovation. Community. Security.