package smtml
Install
dune-project
Dependency
Authors
-
JJoão Pereira <joaomhmpereira@tecnico.ulisboa.pt>
-
FFilipe Marques <filipe.s.marques@tecnico.ulisboa.pt>
-
HHichem Rami Ait El Hara <hra@ocamlpro.com>
-
Rredianthus <redopam@pm.me>
-
AArthur Carcano <arthur.carcano@ocamlpro.com>
-
PPierre Chambart <pierre.chambart@ocamlpro.com>
-
JJosé Fragoso Santos <jose.fragoso@tecnico.ulisboa.pt>
Maintainers
Sources
md5=181cc72de896d7a23787a7c44c9cc8d1
sha512=25b6c2f650d99cc71fbc5c27060a6064808c9736804332417d25194c8ca4e053fb057bbf9ef872c52a6f5ed9d6cb6758abda8e71974bc2b2ae79f5681f7dbe47
doc/smtml/Smtml/Ty/index.html
Module Smtml.TySource
Type Module. This module defines types and operations for working with SMT types, including unary, binary, relational, ternary, conversion, and n-ary operations. It also provides utilities for type comparison, pretty-printing, and parsing.
The type _ cast represents type casts for integers of different bit widths.
Type Definitions
type t = | Ty_app(*Application type.
*)| Ty_bitv of int(*Bitvector type with a specified bit width.
*)| Ty_bool(*Boolean type.
*)| Ty_fp of int(*Floating-point type with a specified bit width.
*)| Ty_int(*Integer type.
*)| Ty_list(*List type.
*)| Ty_none(*None type.
*)| Ty_real(*Real number type.
*)| Ty_str(*String type.
*)| Ty_unit(*Unit type.
*)| Ty_regexp(*Regular expression type.
*)| Ty_roundingMode
The type t represents smtml types.
Type Comparison
compare t1 t2 performs a total order comparison of types t1 and t2.
Pretty Printing
String Conversion
string_of_type t converts the type t to a string representation.
of_string s attempts to parse the string s into a type. Returns Ok t if successful, or an error message otherwise.