package dolmen_type

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

Parameters

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

Signature

type Type.err +=
  1. | 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.

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

    Raised when an arithmetic symbol is applied to an arithmetic type that cannot support the given operation (e.g. $quotient on integers).

    *)

Additional errors specific to arithmetic typing.