package dolmen_type

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module Type : Tff_intf.S
module T : Dolmen.Intf.Term.Smtlib_Real_Int with type t := Type.T.t and type ty := Type.Ty.t

Signature

type Type.warn +=
  1. | Restriction : string -> Dolmen.Std.Term.t Type.warn
    (*

    Warning for expressions which tecnically do not respect the strict spec but respect the large spec.

    *)

Arithmetic type-checking warnings

type Type.err +=
  1. | Forbidden : string -> Dolmen.Std.Term.t Type.err
    (*

    Error for expressions which do not respect the spec.

    *)
  2. | Expected_arith_type : Type.Ty.t -> Dolmen.Std.Term.t Type.err
    (*

    Error raised when an arithmetic type was expected (i.e. either int or real), but another type was found.

    *)

Additional errors specific to arithmetic typing.

Parsing function for type-checking