Index of values


__dynamic_type_lattice [Lattice]
__dynamic_type_t [Dynamic]

A
add [Lattice]
Replace data in the lattice at the given type.
all_istrings [IStringBase]
all_istrings [IString]
all_istrings' [IString]
any_shower [Show]
shower for any value, shows "<unknown>"
append [IString]
append a b returns an istring containing the contents of a followed by the contents of b.
append' [IString]
append_string [IString]
As append but right hand parameter is a string.
append_string' [IString]
append_to [Show]
Use a shower to append the string representation of a value to a buffer.
apply [Dynamic]
Apply a value to a function.
apply_l [Dynamic]
Apply a list of values to a function.
assoc_list_shower [Show]
shower for association lists
assoc_shower [Show]
shower for associations

B
bool_shower [Show]
shower for bools

C
canonicalize [Type]
Relable the variables in a type to bring it into "canonical" form.
char_shower [Show]
shower for chars
char_shower' [Show]
shower for chars, shows without quotes
compare [TypeLabel.Labeller]
compare [IStringBase]
compare [IString]
Fast non-lexical comparison function, for maps etc.
concat [IString]
Concatenate the istrings in the given list into a single istring.
concat' [IString]

D
decompose_func [Type]
decompose_func f return (a,r), where a is the argument type of f, and r is the return type of f.
display_type_error [Dynamic]
display_type_error f returns a new function, identical to f, except that Type_error exceptions are mapped to Type_error' exceptions.
dynamic_equal [DynamicEquality]
Compare the values in a and b for equality.

E
empty [Lattice]
Create an empty lattice.
empty [IString]
The empty istring.
empty' [IStringBase]
equal [TypeLabel.Labeller]
equal [IStringBase]
equal [IString]
Compare strings for equality.

F
field_shower [Show]
field_shower name f s
find [Lattice]
Find most recently added data associated with the given type.
find_all [Lattice]
Find all data associated with the given type.
find_all_most_specific [Lattice]
Find the all data associated with the most specific keys which cover the given type.
find_most_specific [Lattice]
Find the most recently added data associated with the most specific keys which cover the given type.
find_most_specific_keys [Lattice]
Find the most specific keys which cover the given type.
float_shower [Show]
shower for floats
fold_left [IString]
fold_right [IString]
func [Type]
func t0 t1 creates a function type which takes t0 as a parameter, and returns t1.
func_shower [Show]
shower for any function value, shows "<function>"

G
get [IStringBase]
get [IString]
Get a character in an istring.
get_func [Type]
get_func t returns None of t is not a function type, otherwise Some f where f is the func of t.
get_runtime_type [Dynamic]
Get the runtime type of a dynamic value.
get_type [Dynamic]
Get the type of a dynamic value.

H
has_type [Dynamic]
has_type t d is true iff d has type t.
hash [TypeLabel.Labeller]
hash [IStringBase]
hash [IString]
Return value suitable for hashing.
head [IString]
returns the first character in the string.

I
incorrect_type_msg [Dynamic]
init [IString]
init s returns s without the last character.
int_shower [Show]
shower for ints
internalise [IStringBase]
internalise [IString]
Internalise an istring.
is_empty [IStringBase]
is_empty [IString]
True iff the istring is empty.
is_func [Type]
Return true iff the given type is a function.
is_ground [Type]
Return true iff the given type is fully ground (contains no type variables.
is_specialisable [Type]
True iff t0 can be specialised with t1.
is_unifiable [Type]
True iff the types unify.

L
label_of_string [TypeLabel.Labeller]
last [IString]
last s returns the last character in s.
length [IStringBase]
length [IString]
Return the length of the istring.
lexical_compare [IString]
Lexical comparison.
list_shower [Show]
shower for lists
listlike_shower [Show]
shower for listlike things
long_shower [TypeLabel.Labeller]

N
new_base_type [Type]
new_func_type [Type]
new_poly_type [Type]
new_tagged_label [TypeLabel.Labeller]
next_label [RandLabel.Labeller]
A function which returns a different label every time it is called.

O
of_char [IString]
Create an istring from a char.
of_char' [IString]
of_float [IString]
Create an istring from a float.
of_float' [IString]
of_int [IString]
Create an istring from a int.
of_int' [IString]
of_string [IString]
Create an istring from a string.
of_string' [IString]
option_shower [Show]
shower for options

P
print [Show]
Use a shower to print a value to stdout.
print_line [Show]
Use a shower to print a value followed by a newline to stdout.

R
record_shower [Show]
Create a shower for a record, from a list of field showers.
register [DynamicEquality]
Register an equality function.
register_std_types [DynamicEquality]
Register equality functions for: (int * int), (string * string), (bool * bool), (float * float), (unit * unit), ('a list * 'a list), ('a list * 'b list)
replace [Lattice]
Replace data in the lattice at the given type.
rev [IString]
Reverse a istring.
rev' [IString]

S
short_shower [TypeLabel.Labeller]
shower [RandLabel.Labeller]
Shower for labels.
shower_from_formatter [Show]
Create a shower from a function which converts a value to a string.
shower_from_to_string [Show]
Create a shower from a function which converts a value to a string.
snoc [IString]
Add a character to the end of a string.
snoc' [IStringBase]
snoc' [IString]
specialise [Type]
specialise t0 with t1.
stats [IStringBase]
stats [IString]
string_shower [Show]
shower for strings
string_shower' [Show]
shower for strings, shows without quotes and escaping
sub [IString]
sub s start len returns a substring of s starting a start and len characters long.
subst [Type]
subst v t0 t1 substitues v for t0 in t1.
subst_shower [Type]
substs [Type]
substs ss t performs all substitutions in list ss to t.
substs_shower [Type]
substs_to_list [Type]
Turn a substs into a list subst.

T
tail [IString]
Return the string without the first character.
temp_istring [IStringBase]
temp_istring [IString]
Turn any istring into a temporary istring.
to_formatter [Show]
Get a formatter from a shower.
to_formatter' [Show]
Get a formatter from a shower.
to_string [Show]
Get from a shower a function that converts a value to a string.
to_string [IString]
Create a string from an istring.
toplevel_istring_printer [IString]
A printer for the ocaml toplevel.
toplevel_temp_istring_printer [IString]
toplevel_type_meta_printer [Type]
tuple_shower2 [Show]
tuple_shower3 [Show]
tuple_shower4 [Show]
tuple_shower5 [Show]
tuple_shower6 [Show]
type_meta_equal [Type]
Equality over types variables.
type_meta_equivelent [Type]
Equivelence over types.
type_meta_hash [Type]
Hash function over types.
type_meta_shower [Type]

U
unify [Type]
unify t0 t1 unifies types t0 and t1.
unify_shower [Type]
unit_shower [Show]
shower for unit
unsafe_to_dynamic [Dynamic]
unsafe_to_dynamic t v casts v to a dynamic value with type t.
unsafe_to_static [Dynamic]
unsafe_to_static t d casts d to a normal O'Caml value, or throws Type_error if d does not have type t.
unsnoc [IString]
unsnoc s returns a pair consisting of s without the last character, and the last character.
unsnoc' [IStringBase]
unsnoc' [IString]

V
variable_context [Type]