Index of values


(--) [OLinq.Infix]
(--) [OLinq]
Synonym to OLinq.range
(<*>) [OLinq.Infix]
(<*>) [OLinq]
Infix synonym to OLinq.app
(>>=) [OLinq.Infix]
(>>=) [OLinq]
Infix version of OLinq.flat_map
(>|=) [OLinq.Infix]
(>|=) [OLinq]
Infix synonym of OLinq.map

A
add [OLinq_map.Build]
add_count [OLinq_map.Build]
add_multimap [OLinq_map.Build]
app [OLinq]
Apply each function to each value.
append [OLinq_table.Row]
append [OLinq]
Append two collections together
append_seq [OLinq_vec]
as_assoc [OLinq_json]
as_bool [OLinq_json]
as_float [OLinq_json]
as_int [OLinq_json]
as_int_lit [OLinq_json]
as_list [OLinq_json]
as_null [OLinq_json]
as_string [OLinq_json]
as_tuple [OLinq_json]
as_variant [OLinq_json]
assoc [OLinq_json]
Assuming the json is an object, obtain the given key, otherwise empty
average [OLinq]

B
bool [OLinq_table]

C
choose [OLinq]
Choose one element (if any, otherwise empty) in the collection.
choose [OLinq_map]
compare [OLinq_table.Data]
concat [OLinq.IO]
concat sep q joins all the strings in q together, similar to String.concat sep (run_list q) basically.
contains [OLinq]
contains x q returns true if x is among the elements returned by q.
count [OLinq]
count c counts how many times each element of the collection occur, and returns pairs of x, count(x)
count_reflect [OLinq]
count_reflect c returns a map from elements of c to the number of time those elements occur.
count_seq [OLinq_map]
create [OLinq_vec]
create [OLinq_table]
create ~names () creates a new table with columns labelled with names

D
diff [OLinq]
Set difference
distinct [OLinq]
Remove duplicate elements from the input collection.

E
empty [OLinq_table.Row]
empty [OLinq]
Empty collection
enter_assoc [OLinq_json]
enter_list [OLinq_json]
If the json is a list, enter each of its element
enter_tuple [OLinq_json]
enter_tuple_index [OLinq_json]
equal [OLinq_table.Data]
exists [OLinq]

F
filter [OLinq]
Filter out values that do not satisfy predicate.
filter_map [OLinq]
Filter and map elements at once
find [OLinq]
find_map [OLinq]
flat_map [OLinq]
Use the result of a query to build another query and immediately run it.
flat_map_l [OLinq]
map each element to a collection and flatten the result
flat_map_seq [OLinq_vec]
flat_map_seq [OLinq]
Same as OLinq.flat_map but using sequences
flatten [OLinq_map]
View a multimap as a collection of individual key/value pairs
flatten_l [OLinq_map]
View a multimap as a list of individual key/value pairs
flatten_list [OLinq]
flatten_map [OLinq]
flatten_multimap [OLinq]
flatten_opt [OLinq]
Flatten the collection by removing None and mapping Some x to x.
flatten_seq [OLinq]
float [OLinq_table]
fold [OLinq_vec]
fold [OLinq_table]
fold [OLinq]
Fold over the collection
fold [OLinq_map]
Fold on the items of the map
fold_multimap [OLinq_map]
Fold on the items of the multimap
for_all [OLinq]

G
get [OLinq_vec]
get [OLinq_table.Row]
get [OLinq_table]
get n tbl gets the n-th row
get [OLinq_map.Build]
get [OLinq_map]
get_cell [OLinq_table]
get_cell i j tbl gets the j-th value of the i-th row
get_cell_exn [OLinq_table]
get_exn [OLinq_table.Row]
get_exn [OLinq_table]
get_exn [OLinq_map]
get_seq [OLinq_map]
Select a key from a map and wrap into sequence
group_by [OLinq]
group_by f takes a collection c as input, and returns a collection of pairs k, l where every element x of l satifies f x = k.
group_by_reflect [OLinq]
group_by_reflect f takes a collection c as input, and returns a multimap m such that for each x in c, x occurs in m under the key f x.
group_join [OLinq]
group_join key2 associates to every element x of the first collection, all the elements y of the second collection such that eq x (key y).
group_join_reflect [OLinq]
Same as OLinq.group_join, but reflects the groups as a multimap

I
init [OLinq_vec]
init [OLinq_table]
init ~names n f makes a table with size rows, each initialized from f
int [OLinq_table]
inter [OLinq]
Intersection of two collections.
is_empty [OLinq_vec]
is_empty [OLinq]
iter [OLinq_table]
iter [OLinq_map]
View a multimap as a proper collection
iteri [OLinq_vec]
iteri [OLinq_table]

J
join [OLinq]
join key1 key2 ~merge is a binary operation that takes two collections a and b, projects their elements resp.

L
lazy_ [OLinq]
length [OLinq_vec]
lines [OLinq.IO]
Convert a string into a collection of lines
lines_l [OLinq.IO]
Convert each string into a list of lines

M
make [OLinq_table]
init ~names n row makes a table with size rows, all equal to row
make [OLinq_map.Build]
make1 [OLinq_table.Row]
make2 [OLinq_table.Row]
map [OLinq_vec]
map [OLinq_table.Row]
map [OLinq]
Map each value
map [OLinq_map]
Transform values
map_assoc [OLinq_json]
map_assoc f j maps each value of j, assuming j is an `Assoc, and wraps again in an assoc.
map_fst [OLinq]
map_list [OLinq_json]
map_list f j maps f over each element of j, if j is a list, and replaces each element with the resulting json value, and wraps those again into a json list
map_snd [OLinq]
max [OLinq]
mem [OLinq_map]
min [OLinq]

N
names [OLinq_table]
Access the column names.
num_cols [OLinq_table]
num_rows [OLinq_table]

O
of_array [OLinq_vec]
of_array [OLinq_table.Row]
of_array [OLinq]
of_array_i [OLinq]
of_cmp [OLinq_map.Build]
of_hash [OLinq_map.Build]
of_hashtbl [OLinq]
of_list [OLinq_vec]
of_list [OLinq_table.Row]
of_list [OLinq.Iterable]
of_list [OLinq]
Query that just returns the elements of the list
of_list [OLinq_map]
of_map [OLinq.AdaptMap]
of_map [OLinq]
of_map m yields each binding of m
of_multimap [OLinq]
of_multimap m yields each single binding of m
of_queue [OLinq]
of_seq [OLinq_vec]
of_seq [OLinq]
Query that returns the elements of the given sequence.
of_seq [OLinq_map]
of_set [OLinq.AdaptSet]
of_src [OLinq_map.Build]
of_stack [OLinq]
of_string [OLinq]
Traverse the characters of the string
of_vec [OLinq.Iterable]
of_vec [OLinq]
opt_unwrap_exn [OLinq]
out [OLinq.IO]
out_lines [OLinq.IO]
Evaluate the query and print it line by line on the output
outer_join [OLinq]
outer_join key1 key2 ~merge is a binary operation that takes two collections a and b, projects their elements resp.

P
print [OLinq_table.Row]
print [OLinq_table.Data]
print [OLinq_table]
print [OLinq]
Evaluate the sequence of elements and print them
product [OLinq]
Cartesian product
pure [OLinq]
Synonym to OLinq.return
push [OLinq_vec]
push [OLinq_table]
Push a row into the table
push_l [OLinq_table]
push_seq [OLinq_table]

R
range [OLinq]
range i j goes from i up to j included
read_chan [OLinq.IO]
Read the content of the whole channel in (blocking), returning the corresponding string.
read_file [OLinq.IO]
Read a whole file (given by name) and return its content as a string
reflect [OLinq.AdaptMap]
reflect [OLinq.AdaptSet]
reflect_hashtbl [OLinq]
Build a hashtable from the collection
reflect_list [OLinq]
reflect_list q evaluates all values in q and returns a list of all those values.
reflect_queue [OLinq]
reflect_stack [OLinq]
reflect_vec [OLinq]
reflect_seq q evaluates all values in q and returns a sequence of all those values.
remove_index [OLinq_table.Row]
remove_index_l [OLinq_table.Row]
return [OLinq_vec]
return [OLinq]
Return one value
reverse [OLinq_map]
Reverse relation of the map, as a multimap
reverse_multimap [OLinq_map]
Reverse relation of the multimap
run [OLinq.AdaptMap]
run [OLinq.AdaptSet]
run [OLinq]
Execute the query, possibly returning an error if things go wrong
run1 [OLinq]
Run the query and return the only value
run1_exn [OLinq]
unsafe shortcut for OLinq.run_head.
run_array [OLinq]
run_head [OLinq]
Return first result
run_list [OLinq]
run_vec [OLinq]

S
set [OLinq_vec]
size [OLinq_table.Row]
size [OLinq_table]
size [OLinq]
size t returns one value, the number of items returned by t
size [OLinq_map]
sort [OLinq]
Sort items by the given comparison function.
sort_by [OLinq]
sort_by proj c sorts the collection c by projecting elements using proj, then using cmp to order them
src_of_args [OLinq_map.Build]
string [OLinq_table]
subset [OLinq]
subset () a b returns true if all elements of a belong to b
sum [OLinq]

T
take [OLinq]
Take at most n elements
take1 [OLinq]
Specialized version of OLinq.take that keeps only the first element
take_while [OLinq]
Take elements while they satisfy a predicate
to_array [OLinq_vec]
to_file [OLinq.IO]
to_file_exn [OLinq.IO]
to_file_lines [OLinq.IO]
to_file_lines_exn [OLinq.IO]
to_list [OLinq_vec]
to_list [OLinq_table]
to_list [OLinq.Iterable]
to_list [OLinq_map]
to_list_rev [OLinq_table]
to_rev_list [OLinq_map]
to_seq [OLinq_vec]
to_seq [OLinq_table]
to_seq [OLinq_map]
to_seq_multimap [OLinq_map]
to_string [OLinq_table.Row]
to_string [OLinq_table.Data]
to_vec [OLinq.Iterable]

U
union [OLinq]
Union of two collections.
unlines [OLinq.IO]
Join lines together
update [OLinq_map.Build]
update build k ~f ~or_ finds the value v associated to k, and maps k to f v.