package minicaml

  1. Overview
  2. Docs

Module Minicaml.TypecheckSource

Sourceval terr : string -> 'a
Sourceval expect : string -> string -> unit
Sourceval typecheck : Types.evt -> string -> unit

Unpacking functions: extract a value or throw an err

Sourceval unpack_int : Types.evt -> int
Sourceval unpack_bool : Types.evt -> bool
Sourceval unpack_string : Types.evt -> string
Sourceval unpack_list : Types.evt -> Types.evt list
Sourceval unpack_dict : Types.evt -> (Types.evt * Types.evt) list
Sourceval isvalidkey : (Types.evt * 'a) -> Types.evt * 'a