A | |
| abs [Math.Ops] | |
| acosh [Math] |
The C99 function acosh()
|
| add [SkipList.S] |
Insert an element
|
| add [Math.Ops] | |
| asctime [Time] | |
| asinh [Math] |
The C99 function asinh()
|
| atanh [Math] |
The C99 function atanh()
|
C | |
| capitalize [StrExtras] |
Like
String.capitalize, but locale-dependant
|
| case_sensitive [Glob] |
Returns the case-sensisitiveness of a pattern.
|
| cbrt [Math] |
The C99 function cbrt()
|
| chomp [StrExtras] |
Remove all trailing whitespace
|
| clear [SkipList.S] |
Wipe out the skiplist
|
| closelog [Syslog] |
Close the log
|
| combine [StrExtras] |
Concatenates a list of strings with a blank seperator
|
| compare [SkipList.OrderedType] | |
| compile [Glob] |
Compile a pattern for matching.
|
| create [SkipList.S] |
Create a new skiplist with given max height, or 5 if none is given.
|
| ctime [Time] |
Returns the time as a string with trailing newline
|
| cut_first_char [StrExtras] |
Cuts off the first character of a string and returns the rest
|
| cut_first_n [StrExtras] |
Cuts off the first
n characters of a string and returns the rest.
|
| cut_first_word [StrExtras] |
Cuts off the first word of a string and returns the rest
|
| cut_last_char [StrExtras] |
Cuts off the last character of a string and returns the rest
|
| cut_last_n [StrExtras] |
Cuts off the last
n characters of a string and returns the rest
|
D | |
| default [Option] | default opt default-value returns either the option's value, or
the default if the option was None.
|
| deffalse [Option] |
A specialization of
default for bool options that returns false
for a default value
|
| deftrue [Option] |
A specialization of
default for bool options that returns true
for a default value
|
| div [Math.Ops] | |
E | |
| e [Math] |
Euler? ...
|
| endservent [UnixExtras] |
Same as Unix endservent(3)
|
| erf [Math] |
The C99 function erf()
|
| erfc [Math] |
The C99 function erfc()
|
| escape [Glob] |
Returns the string with any special wildcard characters escaped.
|
| exec [Glob] |
Match a compiled pattern against a string
|
| exp2 [Math] |
The C99 function exp2()
|
| expm1 [Math] |
The C99 function expm1()
|
F | |
| fcmp [Math] |
Like
compare, but takes an extra epsilon value to use in figuring
out if the floats are 'close enough' to be considered equal.
|
| fdim [Math] |
The C99 function fdim().
|
| find [SkipList.S] |
Look up an element
|
| find [Find] |
Run the tests on all files in a directory and qreturn a list of all matching files.
|
| first_not_of [StrExtras] | first_not_of needle haystack returns the position of the first occurance in haystack of a character that's not also in needle.
|
| first_not_of_from [StrExtras] | first_not_of_from needle haystack pos returns the position of the first occurance in haystack (Starting at pos) of a character that's not also in needle.
|
| first_of [StrExtras] | first_of needle haystack returns the position of the first occurance in haystack of a character in needle.
|
| first_of_from [StrExtras] | first_of_from needle haystack pos returns the position of the first occurance in haystack (Starting at pos) of a character in needle.
|
| first_word [StrExtras] |
Returns the first word of a string
|
| fma [Math] |
The C99 function fma()
|
| fold [SkipList.S] |
Like
Map.fold
|
| format_time [Time] |
Same taking a time in seconds
|
| format_tm [Time] |
Wrapper for the C strftime() function.
|
G | |
| genrand [Rand.RNGSource] | |
| get [Locale] |
Get the current locale for a category
|
| get_chartype [CharExtras] |
Query the CTYPE locale being used.
|
| getservent [UnixExtras] |
Same as Unix getservent(3)
|
| gmtime [Time] | |
H | |
| hypot [Math] |
The C99 function hypot()
|
I | |
| ilogb [Math] |
The C99 function ilogb()
|
| index_substr [StrExtras] | index_str needle haystack returns the position in haystack where needle starts.
|
| index_substr_from [StrExtras] | index_substr_from needle haystack pos returns the position in haystack where needle starts, starting looking at pos.
|
| init [MtRand] |
Seed from an int value.
|
| init32 [MtRand] |
Seed from an int32 value.
|
| init_array [MtRand] |
Seed from an int array of any length.
|
| init_array32 [MtRand] |
Seed from an int32 array of any length.
|
| init_bigarray32 [MtRand] |
Seed from an int32 bigarray of any length.
|
| init_from_channel [MtRand] | |
| init_from_descr [MtRand] | |
| init_from_file [MtRand] |
Seed from raw data in a file.
|
| init_genarray [MtRand] |
Seed from an int32 array generated by calling Array.map on f and the array.
|
| int [MtRand] |
Signed int.
|
| int32 [MtRand] |
Signed int32.
|
| int64 [MtRand] | |
| invpi [Math] | 1. /. Math.pi
|
| invpi2 [Math] | 2. /./ Math.pi
|
| invsqrt2 [Math] | 1. /. sqrt 2.
|
| is_alpha [CharExtras] |
Is the character alphabetic?
|
| is_alphanumeric [CharExtras] |
Is the character alphabetic or a digit?
|
| is_graphical [CharExtras] |
Is the character displayable and not whitespace?
|
| is_hexadecimal [CharExtras] |
Is the character a digit in base 16?
|
| is_lower [CharExtras] |
Is the character lowercase?
|
| is_number [CharExtras] |
Is the character a digit?
|
| is_printable [CharExtras] |
Is the character displayable?
|
| is_punctation [CharExtras] |
Is the character a punctuation symbol?
|
| is_space [CharExtras] |
Is the character whitespace?
|
| is_upper [CharExtras] |
Is the character uppercase?
|
| isfinite [Math] | |
| isinf [Math] | |
| isnan [Math] | |
| isnormal [Math] | |
| iszero [Math] | |
| iter [SkipList.S] |
Like
Map.iter
|
L | |
| lgamma [Math] |
The C99 function lgamma()
|
| ln10 [Math] | log 10
|
| ln2 [Math] | log 2
|
| localtime [Time] | |
| log10e [Math] | log10 Math.e
|
| log1p [Math] |
The C99 function log1p()
|
| log2 [Math] |
The C99 function log2()
|
| log2e [Math] | Math.log2 Math.e
|
| logb [Math] |
The C99 function logb()
|
| lowercase [StrExtras] |
Like
String.lowercase, but locale-dependant
|
M | |
| make [Find] |
Make a find object that obeys the given rules.
|
| make_daemon [UnixExtras] |
Runs f in a new daemon process.
|
| map [StrExtras] |
Like
Array.map, for strings.
|
| map_inplace [StrExtras] |
Like
map, but modifies the argument string.
|
| match_substr [StrExtras] | match_substr substr str pos returns true if str contains substr at position pos
|
| max [Rand.ExponentialDist] | |
| max [Rand.FDIST] | |
| max [Rand.IFDIST] | |
| max [Rand.IDIST] | |
| max [Math.Ops] | |
| max [Rand.RNGSource] | |
| mem [SkipList.S] |
Like
List.mem
|
| min [Rand.ExponentialDist] | |
| min [Rand.FDIST] | |
| min [Rand.IFDIST] | |
| min [Rand.IDIST] | |
| min [Math.Ops] | |
| min [Rand.RNGSource] | |
| mktime [Time] | |
| monetary_info [Locale] |
Return the settings for the current
LC_MONETARY locale.
|
| mul [Math.Ops] | |
N | |
| name [FileRand.FILE] | |
| nativeint [MtRand] |
Signed nativeint
|
| nearbyint [Math] |
The C99 function nearbyint()
|
| nextafter [Math] |
The C99 function nextafter().
|
| numeric_info [Locale] |
Return the settings for the current
LC_NUMERIC locale.
|
O | |
| of_float [Math.Ops] | |
| one [Math.Ops] | |
| open_out [IOExtras] |
Open a file for output and auto-flush at exit
|
| openlog [Syslog] |
Same as openlog(3)
|
| output_endline [IOExtras] | print_endline on a generic channel (or stdout if you don't give one).
|
P | |
| pi [Math] |
Cherry
|
| pi2 [Math] | Math.pi /. 2.
|
| pi4 [Math] | Math.pi /. 4.
|
| pred [Math.Ops] | |
| pred_float [Math] |
Returns
n-1.0
|
| prefix [StrExtras] | prefix pref str returns true if str starts with pref.
|
| print [Math.Ops] | |
Q | |
| quick [Glob] | quick pattern against does a one-shot match
|
R | |
| real1 [MtRand] |
Range: 0 <= x <= 1
|
| real2 [MtRand] |
Range: 0 <= x < 1
|
| real3 [MtRand] |
Range: 0 < x < 1
|
| rem [Math.Ops] | |
| remainder [Math] |
The C99 function remainder()
|
| remove [SkipList.S] |
Remove an element
|
| res53 [MtRand] |
Range: 0 <= x < 1 with 53-bit resolution
|
| round [Math] |
The C99 function round()
|
S | |
| scalbn [Math] |
The C99 function scalbn()
|
| self_init [MtRand] |
Seed from /dev/urandom, or a default seed based on time and pid if
/dev/urandom isn't available
|
| send_file [UnixExtras] |
Reads
len bytes from the src descr with offset start and
copies them to the dest descr.
|
| set [Locale] |
If a new locale name is not provided, just return the
Some name of the
current locale for the category.
|
| set_chartype [CharExtras] |
Set the CTYPE locale.
|
| set_from_env [Locale] |
Set the locale based on environment variables
|
| set_logpath [Syslog] |
If your syslogd unix socket isn't /dev/log, call this before openlog or syslog to change it to the proper file
|
| set_socktype [Syslog] |
If your syslogd unix socket isn't a datagram one (SOCK\_DGRAM), call this with the proper one before openlog or syslog
|
| setservent [UnixExtras] |
Same as Unix setservent(3)
|
| size [SkipList.S] |
The number of elements in the skiplist
|
| split_at [StrExtras] |
Returns everything after the character
|
| sqrt2 [Math] | sqrt 2.
|
| sqrtpi2 [Math] | 2. *. sqrt Math.pi
|
| sub [Math.Ops] | |
| succ [Math.Ops] | |
| succ_float [Math] |
Returns
n+1.0
|
| suffix [StrExtras] | suffix suf str returns true if str starts with suf.
|
| syslog [Syslog] |
Same as syslog(3), except there's no formats.
|
T | |
| tgamma [Math] |
The C99 function tgamma()
|
| time [Time] | |
| time_string [Time] |
Time as a string without trailing newline
|
| tm_string [Time] | |
| to_float [Math.Ops] | |
| to_lower [CharExtras] |
Lowercase the character according to the CTYPE locale.
|
| to_upper [CharExtras] |
Uppercase the character according to the CTYPE locale.
|
| trunc [Math] |
The C99 function trunc()
|
U | |
| uint [MtRand] |
Unsigned int.
|
| uint32 [MtRand] |
Unsigned int32.
|
| uint64 [MtRand] | |
| unativeint [MtRand] |
Unsigned nativeint.
|
| uncapitalize [StrExtras] |
Like
String.uncapitalize, but locale-dependant
|
| uppercase [StrExtras] |
Like
String.uppercase, but locale-dependant
|
| urandom_found [MtRand] |
Seed from /dev/urandom
|
| urandom_init [MtRand] | |
Z | |
| zero [Math.Ops] |