| (++) [Maki.Time] | |
| (>>=) [Maki_lwt_err] | |
| (>|=) [Maki_lwt_err] | |
A | |
| abspath [Maki] |
Make the path absolute
|
| acquire [Maki.Limit] | |
| argv0 [Maki.Value] |
Value corresponding to the program
Sys.argv.(0)
|
| as_float [Maki_bencode] | |
| as_list [Maki_bencode] | |
| as_str [Maki_bencode] | |
| assoc [Maki_bencode] | |
| assoc [Maki.Value] | |
| assoc_or [Maki_bencode] | |
B | |
| bencode_of_cache_value [Maki] | |
| bool [Maki.Value] | |
C | |
| cache_value_data [Maki] |
the value itself
|
| cache_value_deps [Maki] |
dependencies
|
| cache_value_fun_name [Maki] |
function used to compute
|
| cache_value_lifetime [Maki] | |
| cache_value_of_bencode [Maki] | |
| cache_value_tags [Maki] |
tags attached to this value
|
| call [Maki] |
Call the function iff its result has not been cached yet
|
| call_exn [Maki] |
Same as
Maki.call but raises the exception instead of wrapping it in Error
|
| create [Maki.Limit] | |
D | |
| days [Maki.Time] | |
| decode_bencode [Maki_bencode] | |
| default [Maki_storage] | default ?dir () creates a new default storage (one file per pair)
|
| default_logger [Maki_log] | |
E | |
| expected_b [Maki_bencode] | |
| expected_s [Maki_bencode] | |
F | |
| fail [Maki_lwt_err] | |
| file [Maki.Value] |
A reference to some file content.
|
| find [Maki_storage] | |
| float [Maki.Value] | |
| flush_cache [Maki_storage] |
Flush in-process cache, if any
|
| fold [Maki_storage] | fold ~f ~x t folds over all the pairs key, value in t.
|
G | |
| gc_storage [Maki] | gc_storage s removes uneeded values and uneeded dependencies,
and returns some statistics.
|
| get [Maki_storage] | get t k obtains the value for k in t
|
| get_default [Maki_storage] | |
| get_exn [Maki_storage] | |
H | |
| hours [Maki.Time] | |
I | |
| incr [Maki_utils.ProgressBar] | |
| int [Maki.Value] | |
J | |
| j [Maki.Limit] |
Default limiter for concurrency, should be set by CLI options
|
L | |
| last_mtime [Maki] |
Last modification time of the file
|
| list [Maki.Value] | |
| log [Maki_log] | |
| logf [Maki_log] |
Use like this:
logf 1 (fun k->k "hello %s, 42=%d" "world" (41+1))
|
M | |
| make [Maki_yojson] | |
| make [Maki_utils.ProgressBar] | |
| make [Maki.Value] | |
| make_err [Maki_yojson] | |
| make_fast [Maki.Value] | |
| make_slow [Maki.Value] | |
| map [Maki.Value] | map f g op encodes x using op.encode (f x), and decodes y by
g (op.decode y)
|
| marshal [Maki.Value] |
Use
Marshal to store and retrieve data.
|
| minutes [Maki.Time] | |
| mk_dict [Maki_bencode] | |
| mk_list [Maki_bencode] | |
| mk_pair [Maki_bencode] | |
| mk_quad [Maki_bencode] | |
| mk_str [Maki_bencode] | |
| mk_triple [Maki_bencode] | |
N | |
| name [Maki_storage] |
Informal description of the storage
|
| none [Maki_storage] |
A dummy storage which does not store any result, thus forcing
every computation to run.
|
| now [Maki.Time] | |
O | |
| of_string [Maki.Value] | |
P | |
| pack [Maki.Value] | |
| pack_assoc [Maki.Value] | |
| pack_bool [Maki.Value] | |
| pack_file [Maki.Value] | |
| pack_int [Maki.Value] | |
| pack_list [Maki.Value] | |
| pack_program [Maki.Value] | |
| pack_set [Maki.Value] | |
| pack_string [Maki.Value] | |
| pair [Maki.Value] | |
| program [Maki.Value] |
A reference to some program in the path.
|
Q | |
| quad [Maki.Value] | |
R | |
| remove [Maki_storage] | |
| return [Maki_lwt_err] | |
| return_unit [Maki_lwt_err] | |
S | |
| seconds [Maki.Time] | |
| serialize [Maki.Value] | |
| set [Maki_storage] | set t k v puts the pair k -> v in t
|
| set [Maki.Value] | set op is similar to Maki.Value.list, except the order of elements does
not matter.
|
| set_count [Maki_utils.ProgressBar] | |
| set_default [Maki_storage] |
Change the storage that is used to evaluate every Maki function
|
| set_exn [Maki_storage] | |
| set_j [Maki.Limit] |
Should be called at the beginning to set the value of
j.
|
| set_level [Maki_log] | |
| set_logger [Maki_log] | |
| sha1 [Maki] | sha1 f hashes the file f
|
| sha1_of_string [Maki] |
hash the given string
|
| shell [Maki] | shell cmd runs the command cmd and
returns stdout, sterr, errcode.
|
| shellf [Maki] |
Same as
Maki.shell but with a format string.
|
| stop [Maki_utils.ProgressBar] | |
| string [Maki.Value] | |
| string_of_gc_stats [Maki] | |
T | |
| to_string [Maki.Value] | |
| triple [Maki.Value] | |
U | |
| unserialize [Maki.Value] | |
| unwrap_res [Maki_lwt_err] |