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=dccec4e664735d96f7d5e867f8c0841f
sha512=4e1586451c0e61dcae6bd46bb8fe899430b383c776dbf214cffcd6802449ee522f4658e2990ac1a1ad6f8e89f72a8d83ba0a40a7d33b2faaa9f8ae0c7a1d0c67
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
The type printer represents the different formats for printing values.
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.