Page
Library
Module
Module type
Parameter
Class
Class type
Source
Yices2.TypeTypes
Type constructors and type testing.
val int : unit -> typGet built-in type for whole numbers
val bool : unit -> typGet built-in type for Booleans
val real : unit -> typGet build-in type for real numbers
val bitvector : int -> typGet type for bitvector of given size (in bits)
val new_scalar : int -> typCreate new type for scalar of given cardinality
val new_uninterpreted : unit -> typCreate new uninterpreted type
val parse : string -> typParse type
val by_name : string -> typGet type by name
val get_name : typ -> stringGet name of type
val set_name : typ -> string -> unitSet name of type
val clear_name : typ -> unitUnbind type of its associated name, if any
val bitsize : typ -> intGet size of bit-vector type in bits
val is_bool : typ -> boolCheck if type is boolean
val is_int : typ -> boolCheck if type is integer
val is_real : typ -> boolCheck if type is real
val is_arithmetic : typ -> boolCheck if type is arithmetic
val is_bitvector : typ -> boolCheck if type is bit-vector
val is_tuple : typ -> boolCheck if type is tuple
val is_function : typ -> boolCheck if type is function
val is_scalar : typ -> boolCheck if type is scalar
val is_uninterpreted : typ -> boolCheck if type is uninterpreted
val print :
?width:int ->
?height:int ->
?offset:int ->
(string -> unit) ->
typ ->
unitPrint type