STMModule with combinators and definitions to specify an STM test
type ty += | Unit : unit ty |
| Bool : bool ty |
| Char : char ty |
| Int : int ty |
| Int32 : int32 ty |
| Int64 : int64 ty |
| Float : float ty |
| String : string ty |
| Bytes : bytes ty |
| Exn : exn ty |
| Option : 'a ty -> 'a option ty |
| Result : 'a ty * 'b ty -> ( 'a, 'b ) Stdlib.result ty |
| List : 'a ty -> 'a list ty |
| Array : 'a ty -> 'a array ty |
| Seq : 'a ty -> 'a Stdlib.Seq.t ty |
A range of constructors to represent built-in types
type 'a ty_show = 'a ty * ( 'a -> string )Combinator type to represent an OCaml type along with an associated to_string function
val unit : unit ty_showCombinator to represent the unit type
val bool : bool ty_showCombinator to represent the bool type
val char : char ty_showCombinator to represent the char type
val int : int ty_showCombinator to represent the int type
val int32 : int32 ty_showCombinator to represent the int32 type
val int64 : int64 ty_showCombinator to represent the int64 type
val float : float ty_showCombinator to represent the float type
val string : string ty_showCombinator to represent the string type
val bytes : bytes ty_showCombinator to represent the bytes type
val exn : exn ty_showCombinator to represent the exception type
result a b builds an (a,b) result type representation
val show_res : res -> stringmodule type Spec = sig ... endThe specification of a state machine.
module Internal : sig ... end