package dolmen
Module Builtin.AdtSource
Source
type _ t = | Tester : {} -> < ty_cst : 'ty_cst ; term_cst : 'term_cst.. > t(*
*)Tester { adt; cstr; case; }is the tester of the case-th constructor of typeadtwhich should becstr.| Constructor : {} -> < ty_cst : 'ty_cst.. > t(*
*)Constructor { adt; case}is the case-th constructor of the algebraic datatype defined byadt.| Destructor : {} -> < ty_cst : 'ty_cst ; term_cst : 'term_cst.. > t(*
*)Destructor { adt; cstr; case; field; }is the destructor returning the field-th argument of the case-th constructor of typeadtwhich should becstr.