Index of values


( * ) [Pervasives]
整数の積。
( ** ) [Pervasives]
冪乗。
( **/ ) [Num]
Num.power_num と同じです。
( *. ) [Pervasives]
浮動小数点数の乗算。
( */ ) [Num]
Num.mult_num と同じです。
(!) [Pervasives]
!r はリファレンス r の現在の内容を返します。 fun r -> r.contents と等価です。
(!=) [Pervasives]
of (==) の否定。
(&&) [Pervasives]
論理積です。評価は左から右へ順に行なわれ、 e1 && e2 は、まず e1 を評価し、それが false を返した場合には e2 はまったく評価されません。
(&) [Pervasives]
(+) [Pervasives]
整数の和。
(+.) [Pervasives]
浮動小数点数の加算。
(+/) [Num]
Num.add_num と同じです。
(-) [Pervasives]
整数の差。
(-.) [Pervasives]
浮動小数点数の減算。
(-/) [Num]
Num.sub_num と同じです。
(/) [Pervasives]
整数の除算。第二引数が 0 のときには Division_by_zero 例外が発生します。 整数の除算では、実際の商を零方向に丸めます。 より精確に言うと、 x >= 0 かつ y > 0 のとき、 x / yxy の実際の商以下の最大の整数になります。 さらに、 (- x) / y = x / (- y) = - (x / y) になります。
(/.) [Pervasives]
浮動小数点数の除算。
(//) [Num]
Num.div_num と同じです。
(:=) [Pervasives]
r := a は リファレンスに a の値を格納します。 fun r v -> r.contents <- v と等価です。
(<) [Pervasives]
(>=) を参照
(</) [Num]
(<=) [Pervasives]
(>=) を参照
(<=/) [Num]
(<>) [Pervasives]
(=) の否定です
(<>/) [Num]
(=) [Pervasives]
e1 = e2e1e2 の構造的等価性を検査します。 (リファレンスや配列といった)変更可能な構造は、 ふたつのオブジェクトが物理的に同一のオブジェクトでなくても、 それぞれの現在の内容が構造的に等価であるとき、かつそのときに限り、等価と見做されます。 関数値同士を比較すると Invalid_argument 例外が発生します。 循環構造を持つデータ構造同士の比較は停止しないかもしれません。
(=/) [Num]
(==) [Pervasives]
e1 == e2e1e2 の物理的等価性を検査します。 リファレンスや配列、文字列、変更可能なフィールドのあるレコードや変更可能なインスタンス変数のあるオブジェクトといった変更可能な型については、 e1 に対する物理的変更が e2 にも影響を与える場合、かつその場合にかぎり e1 == e2 は真になります。 変更不能な型については ( == ) の結果は処理系依存になります。ただし、 e1 == e2 であれば compare e1 e2 = 0 となることは保証されます。
(>) [Pervasives]
(>=) を参照
(>/) [Num]
(>=) [Pervasives]
構造的順序付け関数です。 整数、文字、文字列、浮動小数点数については通常の順序を返し、それらを拡張してその他の型に対しても全順序関係を定義しています。 この順序は ( = ) と互換性があります。 ( = ) の場合と同じく、変更可能な構造は、その要素により比較されます。 関数値同士の比較をすると Invalid_argument 例外が発生します。 循環構造の比較をすると停止しないかもしれません。
(>=/) [Num]
(@) [Pervasives]
リストの連結
(^) [Pervasives]
文字列の連結。
(^^) [Pervasives]
f1 ^^ f2 は書式指定 f1f2 を連結します。 結果の書式指定は f1 からの引数を受け付け、その次に f2 からの引数を受け付けます。
(asr) [Pervasives]
n asr mn を右に m ビットシフトします。 これは算術シフトで、 n の符号ビットが複製されます。 m < 0 ないしは m >= bitsize のときの結果は規定されていません。
(land) [Pervasives]
ビットごとの論理積。
(lor) [Pervasives]
ビットごとの論理和。
(lsl) [Pervasives]
n lsl mn を左に m ビットシフトします。 m < 0 ないしは m >= bitsize のときの結果は規定されていません。 ここで、 bitsize は 32 ビット環境では 32、 64 ビット環境では 64 になります。
(lsr) [Pervasives]
n lsr mn を右に m ビットシフトします。 これは論理シフトで、 n の符号によらず 0 が挿入されます。 m < 0 ないしは m >= bitsize のときの結果は規定されていません。
(lxor) [Pervasives]
ビットごとの排他的論理和。
(mod) [Pervasives]
整数の剰余。 y が 0 でないとき、 x mod y の結果は x = (x / y) * y + x mod y かつ abs(x mod y) <= abs(y) - 1 という性質を満たします。 y = 0 のときは Division_by_zero 例外が発生します。 x mod yx < 0 のときだけ負になることに注意してください。
(or) [Pervasives]
(||) [Pervasives]
論理和です。評価は左から右へ順に行なわれ、 e1 || e2 は、まず e1 を評価し、それが true を返した場合には e2 はまったく評価されません。
(~+) [Pervasives]
単項の和。 ~+e の代わりに + e と書くこともできます。
(~+.) [Pervasives]
単項の和。 ~+. e の代わりに +. e と書くこともできます。
(~-) [Pervasives]
単項の符号反転。 ~-e の代わりに - e と書くこともできます。
(~-.) [Pervasives]
単項の符号反転。 ~-. e の代わりに -. e と書くこともできます。

A
abs [Pervasives]
引数の絶対値を返します。引数が min_int のとき負の数が返ることがあることに注意してください。
abs [Nativeint]
引数の絶対値を返します。
abs [Int64]
引数の絶対値を返します。
abs [Int32]
引数の絶対値を返します。
abs_big_int [Big_int]
絶対値。
abs_float [Pervasives]
abs_float ff の絶対値を返します。
abs_num [Num]
絶対値。
abstract_tag [Obj]
accept [UnixLabels]
Accept connections on the given socket.
accept [Unix]
与えられたソケットへの接続を受け付けます。 戻り値はクライアントに接続したソケットのファイル記述子とアドレスです。
accept [ThreadUnix]
access [UnixLabels]
Check that the process has the given permissions over the named file.
access [Unix]
与えられた名前のファイルが指定のパーミッションを持つか確認します。 指定のパーミッションを持たない場合には Unix_error 例外が発生します。
acos [Pervasives]
逆余弦。引数は区間 [-1.0, 1.0] になければなりません。 結果は 0.0 から pi までのラジアン角になります。
adapt_filename [Dynlink]
バイトコード中では恒等関数になります。ネイティブコード中ではファイル名の拡張子を .cmxs に置き換えます。
add [Weak.S]
add t x adds x to t.
add [Set.S]
add x ss の要素すべてに加えて x を要素とする集合を返します。 x が既に s に含まれていた場合には s がそのまま返ります。
add [Queue]
add x q はキュー q の末尾に要素 x を追加します。
add [Nativeint]
加算。
add [MoreLabels.Set.S]
add [MoreLabels.Map.S]
add [MoreLabels.Hashtbl.S]
add [MoreLabels.Hashtbl]
add [Map.S]
add x y mm の全束縛に x から y への束縛を追加したものを格納する表を返します。 xm で既に束縛されていた場合には、以前の束縛は置き換えられます。
add [Int64]
加算。
add [Int32]
加算。
add [Hashtbl.S]
add [Hashtbl]
Hashtbl.add tbl x yy に対する x の束縛をテーブル tbl に追加します。 x に関する以前の束縛は取り除かれることなく、単に隠蔽されます。 すなわち、 Hashtbl.remove tbl x とすると、 x に対する以前の束縛がもしあれば、それが復元されます(これは連想リストと同じ振舞いです)。
add [Dbm]
add db key data は (key, data) の対をデータベース db に挿入します。 データベースに key に対応する値が既に存在した場合には、 Dbm_error "Entry already exists" 例外が発生します。
add [Complex]
加算。
add_available_units [Dynlink]
Same as Dynlink.add_interfaces, but instead of searching .cmi files to find the unit interfaces, uses the interface digests given for each unit.
add_big_int [Big_int]
加算。
add_buffer [Buffer]
add_buffer b1 b2 は バッファ b2 の現在の内容を b1 の末尾に追加します。 b2 は変更されません。
add_channel [Buffer]
add_channel b ic n は入力チャネル ic からちょうど n 文字読み込み、それをバッファ b の末尾に格納します。 チャネルが n 文字以下しか格納していなかった場合には End_of_file 例外が発生します。
add_char [Buffer]
add_char b c はバッファ b の末尾に文字 c を追加します。
add_initializer [CamlinternalOO]
add_int_big_int [Big_int]
通常の整数と多倍長整数の加算。
add_interfaces [Dynlink]
add_interfaces units path grants dynamically-linked object files access to the compilation units named in list units.
add_num [Num]
加算。
add_offset [Obj]
add_string [Buffer]
add_string b s はバッファ b の末尾に文字列 s を追加します。
add_substitute [Buffer]
add_substitute b f s は文字列パターン s に置換処理をほどこしてバッファ b の末尾に追加します。 置換処理では、パターン中から変数を探し出し、各変数名を f に適用して得られた値で置き換えます。 文字列パターン中で、変数はエスケープされていない $ で始まる以下のいずれかです。
add_substring [Buffer]
add_substring b s ofs len は文字列 sofs 文字目から len 文字の文字列を取り出し、それをバッファ b の末尾に追加します。
alarm [UnixLabels]
Schedule a SIGALRM signal after the given number of seconds.
alarm [Unix]
SIGALRM シグナルを与えられた秒数後に設定します。
align [Arg]
キーワードの長さに従って doc 文字列の先頭に空白を入れ、 doc 文字列を整形します。 文字列全体を右に寄せたい場合には doc 文字列の先頭に空白を入れてください。 Symbol 引数に対応する doc 文字列は改行したうえで表示するように整形されます。
allocated_bytes [Gc]
Return the total number of bytes allocated since the program was started.
allow_only [Dynlink]
allow_only units は動的リンクされた翻訳単位が参照することのできる範囲を制限し、 units 中に名前のある翻訳単位だけを参照できるようにします。 loadfile 中や loadfile_private 中に指定された以外の翻訳単位を参照しようとすると Unavailable_unit 例外が発生します。
allow_unsafe_modules [Dynlink]
安全でないオブジェクトファイルを動的リンクできるかどうかを制御します。 ある翻訳単位が型安全性を破るような外部関数を含む場合、その翻訳単位は「安全でない」と言います。 デフォルトでは安全でないオブジェクトファイルの動的リンクは許可されていません。 ネイティブコードではこの関数は何もせず、外部関数を含むオブジェクトファイルの動的リンクは常に許可されています。
always [Event]
always v returns an event that is always ready for synchronization.
and_big_int [Big_int]
ビットごとの論理積。 引数は 0 以上でなければなりません。
append [StdLabels.List]
append [StdLabels.Array]
append [ListLabels]
Catenate two lists.
append [List]
ふたつのリストを連結します。 中置演算子 @ と同じ関数です。 末尾再帰ではありません(最初の引数の長さに比例します)。 @ 演算子も末尾再帰ではありません。
append [ArrayLabels]
Array.append v1 v2 returns a fresh array containing the concatenation of the arrays v1 and v2.
append [Array]
Array.append v1 v2 は配列 v1v2 を連結した新しい配列を返します。
appname_get [Tk]
appname_set [Tk]
Get or set the application name.
approx_num_exp [Num]
数を十進数で近似します。 第一引数は必要な精度で、第二引数は近似する数です。 Num.approx_num_fix は十進表記を使い、第一引数は小数点の後に続く数字の個数になります。 approx_num_exp は科学(指数)表記を使い、第一引数は仮数部の数字の個数になります。
approx_num_fix [Num]
Num.approx_num_exp を参照してください。
arg [Complex]
偏角。複素数の偏角は、複素平面上で、その数と 0 を結んだ直線と実軸の正の部分が成す角の角度になります。 この角度は -pi から pi になります。 この関数は実軸の負の部分において不連続性があります。
argv [Sys]
プロセスに与えられたコマンドライン引数です。 最初の要素はプログラムを起動するのに使われたコマンドの名前で、残りの要素はそのプログラムに与えられたコマンドライン引数です。
arith_status [Arith_status]
現在の算術フラグの状態を印字します。
array [Sort]
Sort an array in increasing order according to an ordering predicate.
array1_of_genarray [Bigarray]
Return the one-dimensional big array corresponding to the given generic big array.
array2_of_genarray [Bigarray]
Return the two-dimensional big array corresponding to the given generic big array.
array3_of_genarray [Bigarray]
Return the three-dimensional big array corresponding to the given generic big array.
asin [Pervasives]
逆正弦。引数は区間 [-1.0, 1.0] になければなりません。 結果は 0.0 から pi までのラジアン角になります。
assoc [StdLabels.List]
assoc [ListLabels]
assoc a l returns the value associated with key a in the list of pairs l.
assoc [List]
assoc a l はペアのリスト l 内でキー a に対応する値を返します。 すなわち、 (a, b) がリスト l 内での a の最左の束縛であれば、 assoc a [...; (a, b); ...] = b になります。 リスト l 内に a に対応する値がない場合には Not_found 例外が発生します。
assq [StdLabels.List]
assq [ListLabels]
Same as ListLabels.assoc, but uses physical equality instead of structural equality to compare keys.
assq [List]
List.assoc と同じですが、キーの比較に構造等価性ではなく物理的等価性を使います。
at_exit [Pervasives]
与えられた関数がプログラムの停止時に呼び出されるように登録します。 at_exit によって登録された関数は、 exit が呼び出されるか、プログラムが正常に終了するか、捕捉されない例外により終了するときに呼び出されます。 関数群は「後入れ先出し」(LIFO)順で実行されます。すなわち、いちばん最後に at_exit で登録された関数が最初に呼び出されます。
atan [Pervasives]
逆正接。 結果は -pi/2 から pi/2 までのラジアン角になります。
atan2 [Pervasives]
atan y xy /. x の逆正接を返します。 xy の符号が結果の象限を決めるのに使われます。 結果は -pi から pi までのラジアン角になります。
auto_synchronize [Graphics]
By default, drawing takes place both on the window displayed on screen, and in a memory area (the ``backing store'').

B
background [Graphics]
backtrace_status [Printexc]
Printexc.backtrace_status () は現在バックトレースが記録されていれば true を返し、そうでなければ false を返します。
basename [Filename]
ファイル名をディレクトリ名とベースネームに分割します。 concat (dirname name) (basename name)name と等価なファイル名を返します。 また、このとき(Sys.chdir を使って)カレントディレクトリを dirname name に設定すると basename name (これは相対パスになります)は Sys.chdir する前に name が表していたのと同じファイルを表すようになります。
beginning_of_input [Scanf.Scanning]
Scanning.beginning_of_input ic tests the beginning of input condition of the given formatted input channel.
big_int_of_int [Big_int]
通常の整数から多倍長整数に変換します。
big_int_of_int32 [Big_int]
32 ビット整数を多倍長整数に変換します。
big_int_of_int64 [Big_int]
64 ビット整数を多倍長整数に変換します。
big_int_of_nativeint [Big_int]
ネイティブ整数を多倍長整数に変換します。
big_int_of_num [Num]
big_int_of_string [Big_int]
十進表現の文字列を多倍長整数に変換します。 文字列は省略可能な - または + の符号から始まり、それに十進数字がひとつ以上続きます。
bind [UnixLabels]
Bind a socket to an address.
bind [Unix]
ソケットをアドレスに束縛します。
bind [Tk]
Bind a succession of events on a widget to an action.
bind_class [Tk]
Same thing for all widgets of a given class.
bind_tag [Tk]
Same thing for all widgets having a given tag
bindings [MoreLabels.Map.S]
bindings [Map.S]
与えられた表に含まれるすべての束縛をリストにして返します。 結果のリストの要素は Ord.compare で与えられる順序について昇順に整列しています。 ここで OrdMap.Make の引数に与えられた引数です。
bits [Random.State]
bits [Random]
ランダムな 30 個のビットの列を非負整数として返します。
bits_of_float [Int64]
与えられた float 値の内部表現を IEEE 754 浮動小数点数「倍精度形式」のビットレイアウトで返します。 戻り値の 63 ビット目は float 値の符号を表し、 62 ビット目から 52 ビット目は(バイアスされた)指数部、 51 ビット目から 0 ビット目は仮数部を表します。
bits_of_float [Int32]
与えられた float 値の内部表現を IEEE 754 浮動小数点数「単精度形式」のビットレイアウトで返します。 戻り値の 31 ビット目は float 値の符号を表し、 30 ビット目から 23 ビット目は(バイアスされた)指数部、 22 ビット目から 0 ビット目は仮数部を表します。
black [Graphics]
blit [Weak]
Weak.blit ar1 off1 ar2 off2 len copies len weak pointers from ar1 (starting at off1) to ar2 (starting at off2).
blit [StringLabels]
String.blit src srcoff dst dstoff len copies len characters from string src, starting at character number srcoff, to string dst, starting at character number dstoff.
blit [String]
String.blit src srcoff dst dstoff lensrcsrcoff 文字目から len 文字を dstdstoff 文字目にコピーします。 この関数は srcdst が同一の文字で、コピー元とコピー先の区間が重なっていても正しく動作します。
blit [StdLabels.String]
blit [StdLabels.Array]
blit [Buffer]
Buffer.blit src srcoff dst dstoff len はバッファ src の現在の内容の srcoff 番目の位置から len 文字を、 dstdstoff 番目にコピーします。
blit [Bigarray.Array3]
Copy the first big array to the second big array.
blit [Bigarray.Array2]
Copy the first big array to the second big array.
blit [Bigarray.Array1]
Copy the first big array to the second big array.
blit [Bigarray.Genarray]
Copy all elements of a big array in another big array.
blit [ArrayLabels]
Array.blit v1 o1 v2 o2 len copies len elements from array v1, starting at element number o1, to array v2, starting at element number o2.
blit [Array]
Array.blit v1 o1 v2 o2 len は配列 v1o1 番目の要素から len 個の要素を、配列 v2o2 番目にコピーします。 この関数は v1v2 が同一の配列で、コピー元とコピー先の区間に重なりがあった場合にも正しく動作します。
blit_image [Graphics]
blit_image img x y copies screen pixels into the image img, modifying img in-place.
blue [Graphics]
bool [Random.State]
これらの関数は基本関数と同じですが、デフォルトの疑似乱数生成器ではなく、与えられた乱数生成器を使い(その状態を更新し)ます。
bool [Random]
Random.bool ()truefalse をそれぞれ 0.5 の確率で返します。
bool_of_string [Pervasives]
与えられた文字列を真偽値に変換します。 引数が "true""false" でない場合には Invalid_argument "bool_of_string" 例外が発生します。
bounded_full_split [Str]
Str.bounded_split_delim と同じですが、区切り文字列間の部分文字列と同じように、区切り文字列自体も結果に含めます。 結果のリスト中で、前者は Text とタグ付けされ、後者は Delim とタグ付けされます。
bounded_split [Str]
Str.split と同じですが、最大 n 個の部分文字列群に分割します。 ここで n は追加された整数引数を指します。
bounded_split_delim [Str]
Str.bounded_split と同じですが、文字列の先頭と末尾に現れた区切り文字列を無視せず、結果に空文字列を含めます。
bprintf [Printf]
Printf.fprintf と同じですが、出力チャネルに表示する代わりに、引数を整形した結果をバッファに追加します(Buffer モジュールを参照してください)。
bprintf [Format]
Deprecated and error prone function.
break [Tk]
Used inside a bound action, do not call other actions after this one.
broadcast [Condition]
broadcast c restarts all processes waiting on the condition variable c.
bscanf [Scanf]
bscanf ic fmt r1 ... rN f reads arguments for the function f, from the formatted input channel ic, according to the format string fmt, and applies f to these values.
bscanf_format [Scanf]
bscanf_format ic fmt f reads a format string token from the formatted input channel ic, according to the given format string fmt, and applies f to the resulting format string value.
button_down [Graphics]
Return true if the mouse button is pressed, false otherwise.

C
c_layout [Bigarray]
capitalize [StringLabels]
Return a copy of the argument, with the first character set to uppercase.
capitalize [String]
引数の文字列の最初の文字を大文字に置き換えたコピーを返します。
capitalize [StdLabels.String]
cardinal [Set.S]
集合の要素数を返します。
cardinal [MoreLabels.Set.S]
cardinal [MoreLabels.Map.S]
cardinal [Map.S]
表に含まれる束縛の個数を返します。
catch [Printexc]
catch_break [Sys]
対話的割り込み(Ctrl-C)によりプログラムを強制終了するか Break 例外を発生させるかを決定します。 catch_break true を実行すると Break を発生させるようになり、 catch_break false とすると、ユーザーからの割り込みでプログラムを強制終了するようにします。
ceil [Pervasives]
引数を整数に切り上げます。 ceil ff 以上の最小の整数を返します。結果は浮動小数点数として返ります。
ceiling_num [Num]
ceiling_num nn 以上の最小の整数を返します。
channel [Digest]
len が非負の場合、 Digest.channel ic len は入力チャネルから len 個の文字を読み込み、そのダイジェストを返します。 len 文字読み込む前にファイル終端に達した場合には End_of_file 例外が発生します。 len が負の場合には、 Digest.channel ic lenic からファイル終端に達するまで文字を読み込み、その文字列のダイジェストを返します。
char [Bigarray]
As shown by the types of the values above, big arrays of kind float32_elt and float64_elt are accessed using the Caml type float.
char_of_int [Pervasives]
与えられた ASCII コードに対応する文字を返します。 非数が 0--255 の範囲外であった場合には Invalid_argument "char_of_int" が発生します。
chdir [UnixLabels]
Change the process working directory.
chdir [Unix]
現在のプロセスの作業ディレクトリを変更します。
chdir [Sys]
プロセスの現在の作業ディレクトリを変更します。
check [Weak]
Weak.check ar n returns true if the nth cell of ar is full, false if it is empty.
check_suffix [Filename]
check_suffix name suff はファイル名 name が接尾辞 suff で終わっていれば true を返します。
chmod [UnixLabels]
Change the permissions of the named file.
chmod [Unix]
与えられた名前のファイルのパーミッションを変更します。
choose [Set.S]
与えられた集合の要素をひとつ返します。 集合が空の場合には Not_found 例外が発生します。 どの要素が選択されるかは規定されていませんが、等しい集合に対しては等しい要素が選択されます。
choose [MoreLabels.Set.S]
choose [MoreLabels.Map.S]
choose [Map.S]
与えられた表から束縛をひとつ返します。 表が空の場合には Not_found 例外が発生します。 どの束縛が選択されるかは規定されていませんが、等しい表からは等しい束縛が選択されます。
choose [Event]
choose evl returns the event that is the alternative of all the events in the list evl.
chop_extension [Filename]
与えられたファイル名から拡張子を除いたものを返します。 拡張子は、ピリオドから始まりディレクトリ区切り文字を含まない最短の接尾辞です(例えば .xyz)。
chop_suffix [Filename]
chop_suffix name suff はファイル名 name から接尾辞 suff を取り除きます。 namesuff で終っていない場合の動作は未定義です。
chown [UnixLabels]
Change the owner uid and owner gid of the named file.
chown [Unix]
与えられた名前のファイルの所有者のユーザー ID とグループ ID を変更します。
chr [Char]
与えられた ASCII コードに対応する文字を返します。 引数が 0--255 の範囲にない場合は Invalid_argument "Char.chr" 例外が発生します。
chroot [UnixLabels]
Change the process root directory.
chroot [Unix]
現在のプロセスのルートディレクトリを変更します。
classify_float [Pervasives]
与えられた浮動小数点数の種別(通常の数、非正規数、零、無限大、 NaN)を返します。
clear [Weak.S]
Remove all elements from the table.
clear [Stack]
スタックのすべての要素を取り除きます。
clear [Queue]
キューのすべての要素を取り除きます。
clear [MoreLabels.Hashtbl.S]
clear [MoreLabels.Hashtbl]
clear [Hashtbl.S]
clear [Hashtbl]
ハッシュテーブルを空にします。
clear [Buffer]
バッファを空にします。
clear_available_units [Dynlink]
Empty the list of compilation units accessible to dynamically-linked programs.
clear_close_on_exec [UnixLabels]
Clear the ``close-on-exec'' flag on the given descriptor.
clear_close_on_exec [Unix]
与えられたファイル記述子の close-on-exec フラグを落とします。 Unix.set_close_on_exec を参照してください。
clear_graph [Graphics]
Erase the graphics window.
clear_nonblock [UnixLabels]
Clear the ``non-blocking'' flag on the given descriptor.
clear_nonblock [Unix]
与えられたファイル記述子の non-blocking フラグを落とします。 Unix.set_nonblock を参照してください。
clear_parser [Parsing]
Empty the parser stack.
close [UnixLabels]
Close a file descriptor.
close [Unix]
ファイル記述子を閉じます。
close [Dbm]
与えられた記述子を閉じます。
closeTk [Tk]
Quit the main loop and close all open windows.
close_box [Format]
Closes the most recently opened pretty-printing box.
close_graph [Graphics]
Delete the graphics window or switch the screen back to text mode.
close_in [Scanf.Scanning]
Close the Pervasives.input_channel associated with the given Scanning.in_channel.
close_in [Pervasives]
与えられたチャネルを閉じます。 既に閉じたチャネルに close_in 以外の関数を適用すると Sys_error 例外が発生します。 既に閉じたチャネルに close_in を適用しても何も起こりません。 OS がエラーを通知してきた場合には close_inSys_error 例外を発生させる可能性があることに注意してください。
close_in_noerr [Pervasives]
close_in と同じですがエラーをすべて無視します。
close_out [Pervasives]
与えられたチャネルを、バッファをフラッシュして閉じます。 閉じた出力チャネルに close_outflush 以外の出力関数を適用すると Sys_error 例外が発生します。この二関数は閉じたチャネルに適用しても何もしません。 バッファをフラッシュするときやファイルを閉じるときに OS エラーが通知した場合、この関数は Sys_error 例外を発生させる可能性があります。
close_out_noerr [Pervasives]
close_out と同じですが、エラーをすべて無視します。
close_process [UnixLabels]
Close channels opened by UnixLabels.open_process, wait for the associated command to terminate, and return its termination status.
close_process [Unix]
Unix.open_process によって開いたチャネルを閉じます。 コマンドの終了を待ち、終了ステータスを返します。
close_process_full [UnixLabels]
Close channels opened by UnixLabels.open_process_full, wait for the associated command to terminate, and return its termination status.
close_process_full [Unix]
Unix.open_process_full によって開いたチャネルを閉じます。 コマンドの終了を待ち、終了ステータスを返します。
close_process_in [UnixLabels]
Close channels opened by UnixLabels.open_process_in, wait for the associated command to terminate, and return its termination status.
close_process_in [Unix]
Unix.open_process_in によって開いたチャネルを閉じます。 コマンドの終了を待ち、終了ステータスを返します。
close_process_out [UnixLabels]
Close channels opened by UnixLabels.open_process_out, wait for the associated command to terminate, and return its termination status.
close_process_out [Unix]
Unix.open_process_out によって開いたチャネルを閉じます。 コマンドの終了を待ち、終了ステータスを返します。
close_subwindow [GraphicsX11]
Close the sub-window having the given identifier.
close_tag [Format]
close_tag () closes the most recently opened tag t.
close_tbox [Format]
Closes the most recently opened tabulation box.
closedir [UnixLabels]
Close a directory descriptor.
closedir [Unix]
ディレクトリ記述子を閉じます。
closure_tag [Obj]
code [Char]
引数文字の ASCII コードを返します。
combine [StdLabels.List]
combine [ListLabels]
Transform a pair of lists into a list of pairs: combine [a1; ...; an] [b1; ...; bn] is [(a1,b1); ...; (an,bn)].
combine [List]
リストのペアをペアのリストに変換します。 combine [a1; ...; an] [b1; ...; bn][(a1,b1); ...; (an,bn)] になります。 ふたつのリストの長さが異なる場合には Invalid_argument 例外が発生します。 末尾再帰ではありません。
command [Sys]
与えられたシェルコマンドを実行し、その終了コードを返します。
compact [Gc]
Perform a full major collection and compact the heap.
compare [StringLabels]
The comparison function for strings, with the same specification as compare.
compare [String]
compare と同じ仕様の文字列の比較関数です。 型 t に加えてこの関数があることにより、 String モジュールを Set.MakeMap.Make といったファンクタの引数に渡すことができるようになっています。
compare [StdLabels.String]
compare [Set.S]
集合同士の全順序。 集合の集合を作る場合の順序関数として使うことができます。
compare [Pervasives]
xy が等しい場合 compare x y0 を返し、 xy より小さいときには負の整数、より大きいときには正の整数を返します。 compare による順序は、上で定義した比較述語 =<> と互換性がありますが、ただひとつ、浮動小数点値 nan の扱いだけが異なります。 比較述語では、 nan をそれ自身を含むすべての浮動小数点値を異なるものとして扱いますが、それに対して compare では nan は自身と等しいものとし、他の如何なる浮動小数点値よりも小さいものとして扱います。 nan をこのように扱うことで compare 関数が全順序を定義することを保証しています。
compare [Nativeint]
compare と同じ仕様のネイティブ整数の比較関数です。 型 t に加えてこの関数があることにより、 Nativeint モジュールを Set.MakeMap.Make といったファンクタに渡すことができるようになっています。
compare [Set.OrderedType]
集合の要素上の全順序関数。 これは次のような二引数関数 f です。 すなわち、 f e1 e2e1e2 が等しい場合に 0 を返し、 e1e2 よりも小さい場合には厳密に負の数を返し、 e1e2 よりも大きい場合には厳密に正の数を返します。 例: 順序関数として適切なものとしては、汎用構造比較関数 compare があります。
compare [MoreLabels.Set.S]
compare [MoreLabels.Map.S]
compare [Map.OrderedType]
キーに対する全順序関数。
compare [Map.S]
表同士の全順序関係。 最初の引数はふたつの表で同一のキーに対応づけられたデータの比較に使われます。
compare [Int64]
compare と同じ仕様の 64 ビット整数の比較関数です。 型 t に加えてこの関数があることにより、 Int64 モジュールを Set.MakeMap.Make といったファンクタに渡すことができるようになっています。
compare [Int32]
compare と同じ仕様の 32 ビット整数の比較関数です。 型 t に加えてこの関数があることにより、 Int32 モジュールを Set.MakeMap.Make といったファンクタに渡すことができるようになっています。
compare [Char]
compare と同じ仕様の文字比較関数です。 この関数と型 t があることにより、 Char モジュールを Set.Make ファンクタや Map.Make ファンクタに渡すことができるようになっています。
compare_big_int [Big_int]
compare_big_int a bab が等しければ 0 を返し、 ab よりも大きければ 1 を返し、 ab より小さければ -1 を返します。
compare_num [Num]
第一引数がより小さい、第二引数と等しい、より大きい場合にそれぞれ -101 を返します。
complex32 [Bigarray]
complex64 [Bigarray]
concat [StringLabels]
String.concat sep sl concatenates the list of strings sl, inserting the separator string sep between each.
concat [String]
String.concat seq sl は文字列のリスト sl の各要素の間に区切り文字列 sep を挿入して連結します。
concat [StdLabels.String]
concat [StdLabels.List]
concat [StdLabels.Array]
concat [ListLabels]
Concatenate a list of lists.
concat [List]
リストのリストを連結します。引数リストの要素を(与えられた順番で)連結したものが結果になります。 末尾再帰ではありません(引数リストの長さ + 部分リストの長さの最大値に比例します)。
concat [Filename]
concat dir file はディレクトリ dir にあるファイル file を表すファイル名を返します。
concat [ArrayLabels]
Same as Array.append, but concatenates a list of arrays.
concat [Array]
Array.append と同じですが、配列のリストを連結します。
conj [Complex]
複素共役。 x + i.y を与えると x - i.y を返します。
connect [UnixLabels]
Connect a socket to an address.
connect [Unix]
ソケットをアドレスに接続します。
connect [ThreadUnix]
contains [StringLabels]
String.contains s c tests if character c appears in the string s.
contains [String]
String.contains s c は文字 c が文字列 s 中に現れるか検査します。
contains [StdLabels.String]
contains_from [StringLabels]
String.contains_from s start c tests if character c appears in the substring of s starting from start to the end of s.
contains_from [String]
String.contains_from s start c は文字 c が文字列 s の位置 start 以降に現れるか検査します。 String.contains s cString.contains s 0 c と等価です。
contains_from [StdLabels.String]
contents [Buffer]
バッファの現在の内容のコピーを返します。バッファ自体は変更されません。
copy [StringLabels]
Return a copy of the given string.
copy [String]
与えられた文字列のコピーを返します。
copy [StdLabels.String]
copy [StdLabels.Array]
copy [Stack]
与えられたスタックのコピーを返します。
copy [Random.State]
与えられた状態のコピーを返します。
copy [Queue]
与えられたキューのコピーを返します。
copy [Oo]
Oo.copy o はオブジェクト o のコピー、すなわち o と同一のメソッド、同一のインスタンス変数を持つ新たなオブジェクトを返します。
copy [MoreLabels.Hashtbl.S]
copy [MoreLabels.Hashtbl]
copy [Hashtbl.S]
copy [Hashtbl]
与えられたハッシュテーブルのコピーを返します。
copy [CamlinternalOO]
copy [ArrayLabels]
Array.copy a returns a copy of a, that is, a fresh array containing the same elements as a.
copy [Array]
Array.copy a は配列 a のコピー、すなわち、 a と同じ要素を格納した新しい配列を返します。
cos [Pervasives]
余弦。引数はラジアン角です。
cosh [Pervasives]
双曲線余弦関数。引数はラジアン角です。
count [Weak.S]
Count the number of elements in the table.
count [Stream]
ストリームの要素の現在の番号(読み出されたストリームの要素)を返します。
counters [Gc]
Return (minor_words, promoted_words, major_words).
create [Weak.S]
create n creates a new empty weak hash table, of initial size n.
create [Weak]
Weak.create n returns a new weak array of length n.
create [Thread]
Thread.create funct arg creates a new thread of control, in which the function application funct arg is executed concurrently with the other threads of the program.
create [StringLabels]
String.create n returns a fresh string of length n.
create [String]
String.create n は長さ n の新しい文字列を返します。 戻り値の文字列は何らかの任意の文字を格納しています。
create [StdLabels.String]
create [StdLabels.Array]
create [Stack]
空の新しいスタックを返します。
create [Queue]
空の新しいキューを返します。
create [Mutex]
新しい Mutex を返します。
create [MoreLabels.Hashtbl.S]
create [MoreLabels.Hashtbl]
create [Hashtbl.S]
create [Hashtbl]
Hashtbl.create n は初期サイズ n の空のハッシュテーブルを新たに作ります。 性能を最大化するためには n はテーブルに入れる要素の予想量に近い値にすべきです。 テーブルは必要に応じて伸長します。 n は単なる最初の推測値に過ぎません。
create [Condition]
Return a new condition variable.
create [Buffer]
create n は初期状態として空の新しいバッファを返します。 引数 n はバッファの内容を格納する文字列の初期サイズです。 この文字列はバッファに n 文字を越える文字を格納しようとすると自動的に再割り当てされ、 reset が呼び出されると n 文字に切り詰められます。 性能を最大化するためには、 n はバッファに格納される文字数と同じ桁数にしておくのがよいでしょう(例えば、出力用の行バッファであれば 80)。 ただし、 n を越えてバッファが伸張しても何の問題もありません。 適切な値が不確かな場合には、例えば n = 16 としておきましょう。 n が 1 から Sys.max_string_length の範囲にない場合には、この範囲に切り詰められます。
create [Bigarray.Array3]
Array3.create kind layout dim1 dim2 dim3 returns a new bigarray of three dimension, whose size is dim1 in the first dimension, dim2 in the second dimension, and dim3 in the third.
create [Bigarray.Array2]
Array2.create kind layout dim1 dim2 returns a new bigarray of two dimension, whose size is dim1 in the first dimension and dim2 in the second dimension.
create [Bigarray.Array1]
Array1.create kind layout dim returns a new bigarray of one dimension, whose size is dim.
create [Bigarray.Genarray]
Genarray.create kind layout dimensions returns a new big array whose element kind is determined by the parameter kind (one of float32, float64, int8_signed, etc) and whose layout is determined by the parameter layout (one of c_layout or fortran_layout).
create [ArrayLabels]
create [Array]
create_alarm [Gc]
create_alarm f will arrange for f to be called at the end of each major GC cycle, starting with the current cycle or the next one.
create_image [Graphics]
create_image w h returns a new image w pixels wide and h pixels tall, to be used in conjunction with blit_image.
create_matrix [StdLabels.Array]
create_matrix [ArrayLabels]
create_matrix [Array]
create_object [CamlinternalOO]
create_object_and_run_initializers [CamlinternalOO]
create_object_opt [CamlinternalOO]
create_process [UnixLabels]
create_process prog args new_stdin new_stdout new_stderr forks a new process that executes the program in file prog, with arguments args.
create_process [Unix]
create_process prog args new_stdin new_stdout new_stderr は新しいプロセスを fork してファイル prog 中のプログラムを引数 args で実行します。新しいプロセスのプロセス ID が即座に返り、新しいプロセスは現在のプロセスと並列に実行されます。 新しいプロセスの標準入力と出力は new_stdinnew_stdoutnew_stderr の記述子に接続されます。例えば new_stdoutstdout を渡すと新しいプロセスの標準出力はリダイレクトされず、現在のプロセスと同じになります。 実行ファイル prog はパスから探索されます。 新しいプロセスは現在のプロセスと同じ環境を持ちます。
create_process_env [UnixLabels]
create_process_env prog args env new_stdin new_stdout new_stderr works as UnixLabels.create_process, except that the extra argument env specifies the environment passed to the program.
create_process_env [Unix]
create_process_env prog args env new_stdin new_stdout new_stderrUnix.create_process と同様の動作をしますが、追加の引数として env でプログラムの環境を指定することができます。
create_table [CamlinternalOO]
current [Arg]
現在処理中の引数の(Sys.argv 中での)位置を表します。 引数を読み飛ばすためにこの値を変更することもできます。 Arg.parse は呼び出し時の Arg.current の値が第 0 引数(プログラム名)の位置を表しているものとし、その次の要素から引数の解析を始めます。
current_dir_name [Filename]
カレントディレクトリを表す名前(例えば Unix では .)。
current_point [Graphics]
Return the position of the current point.
current_x [Graphics]
Return the abscissa of the current point.
current_y [Graphics]
Return the ordinate of the current point.
curveto [Graphics]
curveto b c d draws a cubic Bezier curve starting from the current point to point d, with control points b and c, and moves the current point to d.
custom_tag [Obj]
cyan [Graphics]

D
data_size [Marshal]
Marshal.header_size を参照してください。
decr [Pervasives]
与えられたリファレンスに格納された値をデクリメントします。 fun r -> r := pred !r と等価です。
decr_num [Num]
r を数へのリファレンスとしたとき、 decr rr := !r - 1 になります。
default_available_units [Dynlink]
動的ロードされるコードから参照できる翻訳単位の範囲をデフォルト値、すなわち、現在実行中のプログラムを構成する全翻訳単位に再設定します。
delay [Thread]
delay d suspends the execution of the calling thread for d seconds.
delete_alarm [Gc]
delete_alarm a will stop the calls to the function associated to a.
descr_of_in_channel [UnixLabels]
Return the descriptor corresponding to an input channel.
descr_of_in_channel [Unix]
与えられた入力チャネルに対するファイル記述子を返します。
descr_of_out_channel [UnixLabels]
Return the descriptor corresponding to an output channel.
descr_of_out_channel [Unix]
与えられた出力チャネルに対するファイル記述子を返します。
destroy [Tk]
Destroy an individual widget.
diff [Set.S]
差集合。
diff [MoreLabels.Set.S]
dim [Bigarray.Array1]
Return the size (dimension) of the given one-dimensional big array.
dim1 [Bigarray.Array3]
Return the first dimension of the given three-dimensional big array.
dim1 [Bigarray.Array2]
Return the first dimension of the given two-dimensional big array.
dim2 [Bigarray.Array3]
Return the second dimension of the given three-dimensional big array.
dim2 [Bigarray.Array2]
Return the second dimension of the given two-dimensional big array.
dim3 [Bigarray.Array3]
Return the third dimension of the given three-dimensional big array.
dims [Bigarray.Genarray]
Genarray.dims a returns all dimensions of the big array a, as an array of integers of length Genarray.num_dims a.
dir_sep [Filename]
ディレクトリ区切り文字(例えば Unix では /)。
dirname [Filename]
Filename.basename を参照。
display_mode [Graphics]
Set display mode on or off.
div [Nativeint]
整数の除算。第二引数が 0 のときは Division_by_zero 例外が発生します。 この関数は (/) と同じく、実数の商を 0 方向に丸めます。
div [Int64]
整数の除算。第二引数が 0 のときは Division_by_zero 例外が発生します。 この関数は (/) と同じく、実数の商を 0 方向に丸めます。
div [Int32]
整数の除算。第二引数が 0 のときは Division_by_zero 例外が発生します。 この関数は (/) と同じく、実数の商を 0 方向に丸めます。
div [Complex]
除算。
div_big_int [Big_int]
多倍長整数同士のユークリッド除算における商。 これは上の quomod_big_int の戻り値の最初の要素 q です。
div_num [Num]
除算。
do_at_exit [Pervasives]
domain_of_sockaddr [UnixLabels]
Return the socket domain adequate for the given socket address.
domain_of_sockaddr [Unix]
与えられたソケットアドレスのドメインを返します。
double_array_tag [Obj]
double_field [Obj]
double_tag [Obj]
draw_arc [Graphics]
draw_arc x y rx ry a1 a2 draws an elliptical arc with center x,y, horizontal radius rx, vertical radius ry, from angle a1 to angle a2 (in degrees).
draw_char [Graphics]
draw_circle [Graphics]
draw_circle x y r draws a circle with center x,y and radius r.
draw_ellipse [Graphics]
draw_ellipse x y rx ry draws an ellipse with center x,y, horizontal radius rx and vertical radius ry.
draw_image [Graphics]
Draw the given image with lower left corner at the given point.
draw_poly [Graphics]
draw_poly polygon draws the given polygon.
draw_poly_line [Graphics]
draw_poly_line points draws the line that joins the points given by the array argument.
draw_rect [Graphics]
draw_rect x y w h draws the rectangle with lower left corner at x,y, width w and height h.
draw_segments [Graphics]
draw_segments segments draws the segments given in the array argument.
draw_string [Graphics]
Draw a character or a character string with lower left corner at current position.
dummy_class [CamlinternalOO]
dummy_pos [Lexing]
A value of type position, guaranteed to be different from any valid position.
dummy_table [CamlinternalOO]
dump_image [Graphics]
Convert an image to a color matrix.
dup [UnixLabels]
Return a new file descriptor referencing the same file as the given descriptor.
dup [Unix]
与えられたファイル記述子と同一のファイルを参照する新たなファイル記述子を返します。
dup [Obj]
dup2 [UnixLabels]
dup2 fd1 fd2 duplicates fd1 to fd2, closing fd2 if already opened.
dup2 [Unix]
dup2 fd1 fd2fd1fd2 に複製します。 fd2 が既に開かれていた場合には fd2 を閉じます。

E
elements [Set.S]
与えられた集合の全要素のリストを返します。 戻り値のリストは順序関係 Ord.compare に関して昇順に整列しています。 ここで OrdSet.Make に与えられた引数です。
elements [MoreLabels.Set.S]
empty [Stream]
ストリームが空の場合には () を返し、そうでなければ Stream.Failure 例外を発生させます。
empty [Set.S]
空集合。
empty [MoreLabels.Set.S]
empty [MoreLabels.Map.S]
empty [Map.S]
空の表。
end_of_input [Scanf.Scanning]
Scanning.end_of_input ic tests the end-of-input condition of the given formatted input channel.
environment [UnixLabels]
Return the process environment, as an array of strings with the format ``variable=value''.
environment [Unix]
プロセスの環境を「値=名前」の形式の文字列の配列で返します。
eprintf [Printf]
Printf.fprintf と同じですが、 stderr に出力します
eprintf [Format]
Same as fprintf above, but output on err_formatter.
epsilon_float [Pervasives]
1.0 より大きくかつ浮動小数点数として精確に表せる最小の値と 1.0 との差。
eq_big_int [Big_int]
eq_num [Num]
equal [Set.S]
equal s1 s2 は集合 s1s2 が等しいかどうか、すなわち、等しい要素を要素とするかを検査します。
equal [MoreLabels.Set.S]
equal [MoreLabels.Map.S]
equal [Map.S]
equal cmp m1 m2 は、表 m1m2 が等しいかどうか、すなわち、等しいキーを持ち、それに対応する値が等しいかどうかを検査します。 cmp は等しいキーに対応づけられたデータを比較する等価述語です。
equal [Hashtbl.HashedType]
キーを比較するのに使われる等価性述語。
err_formatter [Format]
A formatter to use with formatting functions below for output to standard error.
error_message [UnixLabels]
Return a string describing the given error code.
error_message [Unix]
与えられたエラーの説明文字列を返します。
error_message [Dynlink]
エラーの説明を表示可能な文字列に変換します。
escaped [StringLabels]
Return a copy of the argument, with special characters represented by escape sequences, following the lexical conventions of Objective Caml.
escaped [String]
引数の文字列中の特殊文字を Objective Caml の字句規則にしたがって エスケープシーケンスで表すよう置き換えたコピーの文字列を返します。 引数中に特殊文字がない場合には、コピーではなく、もとの引数がそのまま返ります。
escaped [StdLabels.String]
escaped [Char]
与えられた文字の文字列表現を返します。 特殊文字は Objective Caml の字句規約に従ってエスケープされます。
establish_server [UnixLabels]
Establish a server on the given address.
establish_server [Unix]
指定されたアドレスでサーバーを確立します。 第一引数に指定した関数は、各接続ごとに引数としてクライアントに接続したバッファ付きのチャネルを受け取ります。 接続ごとに新たなプロセスが作られます。 Unix.establish_server 関数は通常は返りません。
executable_name [Sys]
現在実行中のプログラムを格納しているファイルの名前。
execv [UnixLabels]
execv prog args execute the program in file prog, with the arguments args, and the current process environment.
execv [Unix]
execv prog args はファイル prog 中のプログラムを、現在の環境で、引数 args で実行します。 execv* 系の関数は返りません。 実行に成功した場合には、現在のプログラムが新しいプログラムで置き換えられます。 失敗した場合には Unix.Unix_error 例外が発生します。
execv [ThreadUnix]
execve [UnixLabels]
Same as UnixLabels.execv, except that the third argument provides the environment to the program executed.
execve [Unix]
Unix.execv と同じですが、第三引数としてプログラム実行時の環境を受け取ります。
execve [ThreadUnix]
execvp [UnixLabels]
Same as UnixLabels.execv respectively, except that the program is searched in the path.
execvp [Unix]
Unix.execv と同じですが、プログラムをパスから探索します。
execvp [ThreadUnix]
execvpe [UnixLabels]
Same as UnixLabels.execvp respectively, except that the program is searched in the path.
execvpe [Unix]
Unix.execve と同じですが、プログラムをパスから探索します。
exists [StdLabels.List]
exists [Set.S]
exists p s は集合の要素が少なくともひとつは述語 p を満たすか検査します。
exists [MoreLabels.Set.S]
exists [MoreLabels.Map.S]
exists [Map.S]
exists p m は表中の少なくともひとつの束縛が述語 p を満たすか検査します。
exists [ListLabels]
exists p [a1; ...; an] checks if at least one element of the list satisfies the predicate p.
exists [List]
exists p [a1; ...; an] はリストの要素のうち少なくともひとつは述語 p を満たすか検査します。 すなわち、 (p a1) || (p a2) || ... || (p an) を返します。
exists2 [StdLabels.List]
exists2 [ListLabels]
Same as ListLabels.exists, but for a two-argument predicate.
exists2 [List]
List.exists と同じですが、 2 引数の述語を取ります。 ふたつのリストの長さが異なる場合は Invalid_argument 例外が発生します。
exit [Thread]
Terminate prematurely the currently executing thread.
exit [Pervasives]
プロセスを停止し、与えられた状態コードを OS に返します。 一般には 0 はエラーのないことを表し、小さな正の整数は失敗を表します。 開いていた出力チャネルは flush_all を使ってすべてフラッシュされます。 プログラムが正常に終了するときには暗黙に exit 0 が実行されます。 それよりも前に、捕捉されない例外によりプログラムが停止した場合には、暗黙の exit 2 が実行されます。
exp [Pervasives]
指数関数。
exp [Complex]
指数関数。 exp zez 乗を返します。
expm1 [Pervasives]
expm1 xexp x -. 10 を計算します。 x が 0.0 に近いときでも精確な結果を返します。
extract_big_int [Big_int]
extract_big_int bi ofs n は多倍長整数 bi の二進表現の ofs ビット目から ofs + n - 1 ビット目に対応する非負の数値を返します。 bi が負の場合、二の補数表現が使われます。

F
failwith [Pervasives]
与えられた文字列で Failure 例外を送出します。
fast_sort [StdLabels.List]
fast_sort [StdLabels.Array]
fast_sort [ListLabels]
Same as List.sort or List.stable_sort, whichever is faster on typical input.
fast_sort [List]
List.sortList.stable_sort のうち、典型的な入力に対してより高速な方と同じです。
fast_sort [ArrayLabels]
Same as Array.sort or Array.stable_sort, whichever is faster on typical input.
fast_sort [Array]
Array.sortArray.stable_sort のうち、典型的な入力に対してより高速な方と同じです。
fchmod [UnixLabels]
Change the permissions of an opened file.
fchmod [Unix]
現在開いているファイルのパーミッションを変更します。
fchown [UnixLabels]
Change the owner uid and owner gid of an opened file.
fchown [Unix]
現在開いているファイルの所有者のユーザー ID とグループ ID を変更します。
field [Obj]
file [Digest]
与えられたファイル名のファイルのダイジェストを計算します。
file_exists [Sys]
与えられた名前のファイル存在するか検査します。
fill [Weak]
Weak.fill ar ofs len el sets to el all pointers of ar from ofs to ofs + len - 1.
fill [StringLabels]
String.fill s start len c modifies string s in place, replacing the characters number start to start + len - 1 by c.
fill [String]
String.fill s start len csstart 文字目から len 文字を文字 c で置き換えて破壊的に更新します。
fill [StdLabels.String]
fill [StdLabels.Array]
fill [Bigarray.Array3]
Fill the given big array with the given value.
fill [Bigarray.Array2]
Fill the given big array with the given value.
fill [Bigarray.Array1]
Fill the given big array with the given value.
fill [Bigarray.Genarray]
Set all elements of a big array to a given value.
fill [ArrayLabels]
Array.fill a ofs len x modifies the array a in place, storing x in elements number ofs to ofs + len - 1.
fill [Array]
Array.fill a ofs len x は配列 a を破壊的に変更し、 aofs から ofs + len - 1 番目に x を格納します。
fill_arc [Graphics]
Fill an elliptical pie slice with the current color.
fill_circle [Graphics]
Fill a circle with the current color.
fill_ellipse [Graphics]
Fill an ellipse with the current color.
fill_poly [Graphics]
Fill the given polygon with the current color.
fill_rect [Graphics]
fill_rect x y w h fills the rectangle with lower left corner at x,y, width w and height h, with the current color.
filter [StdLabels.List]
filter [Set.S]
filter p ss の要素で述語 p を満たすものだけから成る集合を返します。
filter [MoreLabels.Set.S]
filter [MoreLabels.Map.S]
filter [Map.S]
filter p mm 中の束縛のうち、述語 p を満たす束縛だけから成る表を返します。
filter [ListLabels]
filter p l returns all the elements of the list l that satisfy the predicate p.
filter [List]
filter p l はリスト l の要素で、述語 p を満たすものをすべて返します。 入力リスト内での要素の順番は保存されます。
final_tag [Obj]
finalise [Gc]
finalise f v registers f as a finalisation function for v.
finalise_release [Gc]
A finalisation function may call finalise_release to tell the GC that it can launch the next finalisation function without waiting for the current one to return.
find [Weak.S]
find t x returns an instance of x found in t.
find [StdLabels.List]
find [MoreLabels.Map.S]
find [MoreLabels.Hashtbl.S]
find [MoreLabels.Hashtbl]
find [Map.S]
find x mm における x の現在の束縛を返します。 そのような束縛がない場合には Not_found 例外が発生します。
find [ListLabels]
find p l returns the first element of the list l that satisfies the predicate p.
find [List]
find p l はリスト l の要素で、述語 p を満たす最初のものを返します。 リスト lp を満たす要素がない場合には Not_found 例外が発生します。
find [Hashtbl.S]
find [Hashtbl]
Hashtbl.find tbl xtbl 中での現在の x の束縛を返します。 そのような束縛が存在しない場合には Not_found 例外が発生します。
find [Dbm]
find db key は記述子 db の表すデータベース内で、与えられた key に対応づけられたデータを返します。 key がデータに対応づけられていなかった場合には Not_found 例外が発生します。
find_all [Weak.S]
find_all t x returns a list of all the instances of x found in t.
find_all [StdLabels.List]
find_all [MoreLabels.Hashtbl.S]
find_all [MoreLabels.Hashtbl]
find_all [ListLabels]
find_all is another name for ListLabels.filter.
find_all [List]
find_allList.filter の別名です。
find_all [Hashtbl.S]
find_all [Hashtbl]
Hashtbl.find_all tbl xtbl 中で x に対応づけられたデータをすべてリストにして返します。 現在の束縛が戻り値のリストの最初の要素になり、テーブルに挿入したのと逆の順に以前の束縛が並びます。
first_chars [Str]
first_chars s ns の最初の n 文字を返します。 この関数は Str.string_before と同じ関数です。
firstkey [Dbm]
Dbm.nextkey を参照してください。
flatten [StdLabels.List]
flatten [ListLabels]
Same as concat.
flatten [List]
concat と同じです。 末尾再帰ではありません(引数リストの長さ + 部分リストの長さの最大値に比例します)。
float [Random.State]
float [Random]
Random.float bound は 0 以上 bound 未満の浮動小数点数を返します。 bound が負の数の場合、戻り値は負の数か 0 になります。 bound が 0 の場合、戻り値は 0 になります。
float [Pervasives]
float_of_int と同じです。
float32 [Bigarray]
float64 [Bigarray]
float_of_big_int [Big_int]
与えられた多倍長整数を近似する浮動小数点数を返します。
float_of_bits [Int64]
与えらたれ int64 値が、その float 値の IEEE 754 浮動小数点数「倍精度形式」のビットレイアウトであるような浮動小数点数を返します。
float_of_bits [Int32]
与えらたれ int32 値が、その float 値の IEEE 754 浮動小数点数「単精度形式」のビットレイアウトであるような浮動小数点数を返します。
float_of_int [Pervasives]
整数を浮動小数点数に変換します。
float_of_num [Num]
float_of_string [Pervasives]
与えられた文字列を浮動小数点数に変換します。 引数が浮動小数点数の文字列表現として妥当なものでなかった場合には Failure "float_of_string" 例外が発生します。
floor [Pervasives]
引数を整数に切り下げます。 floor ff 以下の最大の整数を返します。結果は浮動小数点数として返ります。
floor_num [Num]
floor_num nn 以下の最大の整数を返します。
flush [Pervasives]
与えられた出力チャネルのバッファをフラッシュし、出力待ちになっていた書き込みを実行します。 対話的なプログラムは標準出力と標準エラー出力が適切なタイミングでフラッシュされるよう注意しなければなりません。
flush_all [Pervasives]
すべての出力チャネルをフラッシュします。エラーは無視します。
flush_input [Lexing]
Discard the contents of the buffer and reset the current position to 0.
flush_str_formatter [Format]
Returns the material printed with str_formatter, flushes the formatter and resets the corresponding buffer.
fold [Weak.S]
fold f t init computes (f d1 (... (f dN init))) where d1 ... dN are the elements of t in some unspecified order.
fold [Set.S]
fold f s a(f xN ... (f x2 (f x1 a))...) を計算します。 ここで、 x1 ... xNs の要素を昇順に並べたものです。
fold [Queue]
fold f accu qList.fold_left f accu l と等価です。 ここで、 lq の要素のリストです。 キュー自体は変更されません。
fold [MoreLabels.Set.S]
fold [MoreLabels.Map.S]
fold [MoreLabels.Hashtbl.S]
fold [MoreLabels.Hashtbl]
fold [Map.S]
fold f m a(f kN dN ... (f k1 d1 a)...) を計算します。 ここで、 k1 ... kNm 中の束縛におけるキーで(昇順)、 d1 ... dN はそれに対応する値です。
fold [Hashtbl.S]
fold [Hashtbl]
Hashtbl.fold f tbl init(f kN dN ... (f k1 d1 init) ...) を計算します。 ここで k1 ... kNtbl 中の束縛のキーで、 d1 ... dN はそれに対応する値です。 各束縛は f にちょうど一回だけ渡されます。 f に渡される束縛の順序は未定義です。 ただし、テーブルに同一のキーに対する値が複数ある場合には、追加したのと逆の順番に、すなわち、もっとも最近に追加した束縛が最初に f に渡されます。
fold_left [StdLabels.List]
fold_left [StdLabels.Array]
fold_left [ListLabels]
List.fold_left f a [b1; ...; bn] is f (... (f (f a b1) b2) ...) bn.
fold_left [List]
List.fold_left f a [b1; ...; bn]f (... (f (f a b1) b2) ...) bn になります。
fold_left [ArrayLabels]
Array.fold_left f x a computes f (... (f (f x a.(0)) a.(1)) ...) a.(n-1), where n is the length of the array a.
fold_left [Array]
Array.fold_leftf (... (f (f x a.(0)) a.(1)) ...) a.(n-1) を計算します。 ここで n は配列 a の長さです。
fold_left2 [StdLabels.List]
fold_left2 [ListLabels]
List.fold_left2 f a [b1; ...; bn] [c1; ...; cn] is f (... (f (f a b1 c1) b2 c2) ...) bn cn.
fold_left2 [List]
List.fold_left2 f a [b1; ...; bn] [c1; ...; cn]f (... (f (f a b1 c1) b2 c2) ...) bn cn になります。 ふたつのリストの長さが異なる場合は Invalid_argument 例外が発生します。
fold_right [StdLabels.List]
fold_right [StdLabels.Array]
fold_right [ListLabels]
List.fold_right f [a1; ...; an] b is f a1 (f a2 (... (f an b) ...)).
fold_right [List]
List.fold_right f [a1; ...; an] bf a1 (f a2 (... (f an b) ...)) になります。 末尾再帰ではありません。
fold_right [ArrayLabels]
Array.fold_right f a x computes f a.(0) (f a.(1) ( ... (f a.(n-1) x) ...)), where n is the length of the array a.
fold_right [Array]
Array.fold_right f a xf a.(0) (f a.(1) ( ... (f a.(n-1) x) ...)) を計算します。 ここで n は配列 a の長さです。
fold_right2 [StdLabels.List]
fold_right2 [ListLabels]
List.fold_right2 f [a1; ...; an] [b1; ...; bn] c is f a1 b1 (f a2 b2 (... (f an bn c) ...)).
fold_right2 [List]
List.fold_right2 f [a1; ...; an] [b1; ...; bn] cf a1 b1 (f a2 b2 (... (f an bn c) ...)) になります。 ふたつのリストの長さが異なる場合は Invalid_argument 例外が発生します。 末尾再帰ではありません。
for_all [StdLabels.List]
for_all [Set.S]
for_all p s は集合の要素がすべて述語 p を満たすか検査します。
for_all [MoreLabels.Set.S]
for_all [MoreLabels.Map.S]
for_all [Map.S]
for_all p m は表中のすべての束縛が述語 p を満たすか検査します。
for_all [ListLabels]
for_all p [a1; ...; an] checks if all elements of the list satisfy the predicate p.
for_all [List]
for_all p [a1; ...; an] はリストのすべての要素が述語 p を満たすか検査します。 すなわち、 (p a1) && (p a2) && ... && (p an) を返します。
for_all2 [StdLabels.List]
for_all2 [ListLabels]
Same as ListLabels.for_all, but for a two-argument predicate.
for_all2 [List]
List.for_all と同じですが、 2 引数の述語を取ります。 ふたつのリストの長さが異なる場合は Invalid_argument 例外が発生します。
force [Lazy]
force x は中断 x を強制評価し、その結果を返します。 x が既に評価されていた場合には、 Lazy.force x は再計算を行なわずに同じ値を返します。 計算中に例外が発生した場合には、再評価時にも同じ例外が発生します。 x を強制評価しているときに x 自体を再帰的に強制評価しようとすると Undefined 例外が発生します。
force [CamlinternalLazy]
force_lazy_block [CamlinternalLazy]
force_newline [Format]
Forces a newline in the current box.
force_val [Lazy]
force x は中断 x を強制評価し、その結果を返します。 x が既に評価されていた場合には、 Lazy.force x は再計算を行なわずに同じ値を返します。 x を強制評価しているときに x 自体を再帰的に強制評価しようとすると Undefined 例外が発生します。 x の計算中に例外が発生したときに、もう一度 force_val x した場合、同一の例外が発生するか Undefined 例外が発生するかは規定されていません。
force_val [CamlinternalLazy]
force_val_lazy_block [CamlinternalLazy]
foreground [Graphics]
Default background and foreground colors (usually, either black foreground on a white background or white foreground on a black background).
fork [UnixLabels]
Fork a new process.
fork [Unix]
新しいプロセスを fork します。 子プロセスでは戻り値は 0 になり、親プロセスでは戻り値は子プロセスのプロセス ID になります。
format_from_string [Scanf]
format_from_string s fmt converts a string argument to a format string, according to the given format string fmt.
format_of_string [Pervasives]
format_of_string s は文字列リテラル s を読み取って書式指定文字列を返します。
formatter_of_buffer [Format]
formatter_of_buffer b returns a new formatter writing to buffer b.
formatter_of_out_channel [Format]
formatter_of_out_channel oc returns a new formatter that writes to the corresponding channel oc.
fortran_layout [Bigarray]
forward_tag [Obj]
fprintf [Printf]
fprintf outchan format arg1 ... argN は引数 arg1 から argN を書式指定文字列 format にしたがって整形し、結果の文字列をチャネル outchan に出力します。
fprintf [Format]
frexp [Pervasives]
frexp ff の仮数部と指数部のペアを返します。 f が 0 のとき、 f の仮数部 x と指数部 n は 0 になります。 f が 0 でないときは、 f = x *. 2 ** n0.5 <= x < 1.0 により定義されます。
from [Stream]
Stream.from f は関数 f によって構築されたストリームを返します。 ストリームの新たな要素を作成するために、関数 f を現在のストリームの番号とともに呼び出します。 関数 f は値がある場合には Some <value> を返し、ストリームの終端の場合には None を返さなければなりません。
from_channel [Scanf.Scanning]
Scanning.from_channel ic returns a formatted input channel which reads from the regular input channel ic argument, starting at the current reading position.
from_channel [Marshal]
Marshal.from_channel chan はチャネル chan から、 Marshal.to_* 関数の出力した値のバイト表現を読み込み、それに対応する値を再構成して返します。
from_channel [Lexing]
Create a lexer buffer on the given input channel.
from_file [Scanf.Scanning]
An alias for open_in above.
from_file_bin [Scanf.Scanning]
An alias for open_in_bin above.
from_function [Scanf.Scanning]
Scanning.from_function f returns a scanning buffer with the given function as its reading method.
from_function [Lexing]
Create a lexer buffer with the given function as its reading method.
from_string [Scanf.Scanning]
Scanning.from_string s returns a formatted input channel which reads from the given string.
from_string [Marshal]
Marshal.from_string buff ofsMarshal.from_channel と同じくマーシャリングされた値を読み戻しますが、チャネルから読み込むのではなく、文字列 buffofs 文字目から読み込みます。
from_string [Lexing]
Create a lexer buffer which reads from the given string.
fscanf [Scanf]
Same as Scanf.bscanf, but reads from the given regular input channel.
fst [Pervasives]
ペアの最初の要素を返します。
fstat [UnixLabels.LargeFile]
fstat [UnixLabels]
Return the information for the file associated with the given descriptor.
fstat [Unix.LargeFile]
fstat [Unix]
与えられたファイル記述子に対応するファイルの情報を返します。
ftruncate [UnixLabels.LargeFile]
ftruncate [UnixLabels]
Truncates the file corresponding to the given descriptor to the given size.
ftruncate [Unix.LargeFile]
ftruncate [Unix]
与えられたファイル記述子に対応するファイルを指定のサイズに切り詰めます。
full_init [Random]
Random.init と同じですが、種としてより多くのデータを受け取ります。
full_major [Gc]
Do a minor collection, finish the current major collection cycle, and perform a complete new cycle.
full_split [Str]
Str.split_delim と同じですが、区切り文字列間の部分文字列と同じように、区切り文字列自体も結果に含めます。 結果のリスト中で、前者は Text とタグ付けされ、後者は Delim とタグ付けされます。 例えば full_split (regexp "[{}]") "{ab}"[Delim "{"; Text "ab"; Delim "}"] を返します。

G
gcd_big_int [Big_int]
ふたつの多倍長整数の最大公約数。
ge_big_int [Big_int]
ge_num [Num]
genarray_of_array1 [Bigarray]
Return the generic big array corresponding to the given one-dimensional big array.
genarray_of_array2 [Bigarray]
Return the generic big array corresponding to the given two-dimensional big array.
genarray_of_array3 [Bigarray]
Return the generic big array corresponding to the given three-dimensional big array.
get [Weak]
Weak.get ar n returns None if the nth cell of ar is empty, Some x (where x is the value) if it is full.
get [StringLabels]
String.get s n returns character number n in string s.
get [String]
String.get s n は文字列 sn 文字目を返します。 String.get s n の代わりに s.[n] と書くこともできます。
get [StdLabels.String]
get [StdLabels.Array]
get [Gc]
Return the current values of the GC parameters in a control record.
get [Bigarray.Array3]
Array3.get a x y z, also written a.{x,y,z}, returns the element of a at coordinates (x, y, z).
get [Bigarray.Array2]
Array2.get a x y, also written a.{x,y}, returns the element of a at coordinates (x, y).
get [Bigarray.Array1]
Array1.get a x, or alternatively a.{x}, returns the element of a at index x.
get [Bigarray.Genarray]
Read an element of a generic big array.
get [ArrayLabels]
Array.get a n returns the element number n of array a.
get [Array]
Array.get a n は配列 an 番目の要素を返します。 最初の要素は 0 番目で、最後の要素は Array.length a - 1 番目です。 Array.get a n の代わりに a.(n) と書くこともできます。
get_all_formatter_output_functions [Format]
Return the current output functions of the pretty-printer, including line breaking and indentation functions.
get_approx_printing [Arith_status]
get_backtrace [Printexc]
Printexc.get_backtrace () は、 Printexc.print_backtrace が表示するのと同じバックトレース文字列を返します。
get_copy [Weak]
Weak.get_copy ar n returns None if the nth cell of ar is empty, Some x (where x is a (shallow) copy of the value) if it is full.
get_ellipsis_text [Format]
Return the text of the ellipsis.
get_error_when_null_denominator [Arith_status]
get_floating_precision [Arith_status]
get_formatter_output_functions [Format]
Return the current output functions of the pretty-printer.
get_formatter_tag_functions [Format]
Return the current tag functions of the pretty-printer.
get_image [Graphics]
Capture the contents of a rectangle on the screen as an image.
get_margin [Format]
Returns the position of the right margin.
get_mark_tags [Format]
Return the current status of tags printing and tags marking.
get_max_boxes [Format]
Returns the maximum number of boxes allowed before ellipsis.
get_max_indent [Format]
Return the value of the maximum indentation limit (in characters).
get_method [CamlinternalOO]
get_method_label [CamlinternalOO]
get_method_labels [CamlinternalOO]
get_normalize_ratio [Arith_status]
get_normalize_ratio_when_printing [Arith_status]
get_print_tags [Format]
get_public_method [CamlinternalOO]
get_state [Random]
基本関数によって使われる乱数生成器の現在の状態を返します。
get_variable [CamlinternalOO]
get_variables [CamlinternalOO]
getaddrinfo [UnixLabels]
getaddrinfo host service opts returns a list of Unix.addr_info records describing socket parameters and addresses suitable for communicating with the given host and service.
getaddrinfo [Unix]
getaddrinfo host service opts は指定されたホストと指定されたサービスで通信するためのソケットパラメータとアドレスを記述した Unix.addr_info のリストを返します。 ホストやサービス名が未知の場合や、 opts で表された制約を満たせない場合、戻り値は空リストになります。
getcwd [UnixLabels]
Return the name of the current working directory.
getcwd [Unix]
現在の作業ディレクトリの名前を返します。
getcwd [Sys]
プロセスの現在の作業ディレクトリを返します。
getegid [UnixLabels]
Return the effective group id under which the process runs.
getegid [Unix]
実行中のプロセスの実効グループ ID を返します。
getenv [UnixLabels]
Return the value associated to a variable in the process environment.
getenv [Unix]
プロセスの環境で変数に対応づけられた値を返します。 変数が未束縛の場合には Not_found 例外が発生します (この関数は Sys.getenv とまったく同じです)。
getenv [Sys]
プロセスの環境変数に対応づけられた値を返します。 変数が束縛されていなかった場合には Not_found 例外が発生します。
geteuid [UnixLabels]
Return the effective user id under which the process runs.
geteuid [Unix]
プロセスの実効ユーザー ID を返します。
getgid [UnixLabels]
Return the group id of the user executing the process.
getgid [Unix]
プロセスを実行しているユーザーのグループ ID を返します。
getgrgid [UnixLabels]
Find an entry in group with the given group id, or raise Not_found.
getgrgid [Unix]
与えられたグループ ID に対応する group の項目を返します。 見つからない場合には Not_found 例外が発生します。
getgrnam [UnixLabels]
Find an entry in group with the given name, or raise Not_found.
getgrnam [Unix]
与えられた名前に対応する group の項目を返します。 見つからない場合には Not_found 例外が発生します。
getgroups [UnixLabels]
Return the list of groups to which the user executing the process belongs.
getgroups [Unix]
プロセスを実行しているユーザーの属しているグループの一覧を返します。
gethostbyaddr [UnixLabels]
Find an entry in hosts with the given address, or raise Not_found.
gethostbyaddr [Unix]
与えられたアドレスで hosts の項目を検索します。 見つからない場合には Not_found 例外が発生します。
gethostbyname [UnixLabels]
Find an entry in hosts with the given name, or raise Not_found.
gethostbyname [Unix]
与えられた名前で hosts の項目を検索します。 見つからない場合には Not_found 例外が発生します。
gethostname [UnixLabels]
Return the name of the local host.
gethostname [Unix]
ローカルホストの名前を返します。
getitimer [UnixLabels]
Return the current status of the given interval timer.
getitimer [Unix]
与えられたインターバルタイマーの現在の状態を返します。
getlogin [UnixLabels]
Return the login name of the user executing the process.
getlogin [Unix]
プロセスを実行しているユーザーのログイン名を返します。
getnameinfo [UnixLabels]
getnameinfo addr opts returns the host name and service name corresponding to the socket address addr.
getnameinfo [Unix]
getnameinfo addr opts はソケットアドレス addr に対応するホスト名とサービス名を返します。 opts はこれらの名前をどのように取得するか制御するオプションのリストで、空リストにすることもできます。 エラーが起こった場合には Not_found 例外が発生します。
getpeername [UnixLabels]
Return the address of the host connected to the given socket.
getpeername [Unix]
与えられたソケットに接続しているホストのアドレスを返します。
getpid [UnixLabels]
Return the pid of the process.
getpid [Unix]
現在のプロセスのプロセス ID を返します。
getppid [UnixLabels]
Return the pid of the parent process.
getppid [Unix]
親プロセスのプロセス ID を返します。
getprotobyname [UnixLabels]
Find an entry in protocols with the given name, or raise Not_found.
getprotobyname [Unix]
与えられた名前で protocols の項目を検索します。 見つからない場合には Not_found 例外が発生します。
getprotobynumber [UnixLabels]
Find an entry in protocols with the given protocol number, or raise Not_found.
getprotobynumber [Unix]
与えられたプロトコル番号で protocols の項目を検索します。 見つからない場合には Not_found 例外が発生します。
getpwnam [UnixLabels]
Find an entry in passwd with the given name, or raise Not_found.
getpwnam [Unix]
与えられた名前に対応する passwd の項目を返します。 見つからない場合には Not_found 例外が発生します。
getpwuid [UnixLabels]
Find an entry in passwd with the given user id, or raise Not_found.
getpwuid [Unix]
与えられたユーザー ID に対応する passwd の項目を返します。 見つからない場合には Not_found 例外が発生します。
getservbyname [UnixLabels]
Find an entry in services with the given name, or raise Not_found.
getservbyname [Unix]
与えられた名前で services の項目を検索します。 見つからない場合には Not_found 例外が発生します。
getservbyport [UnixLabels]
Find an entry in services with the given service number, or raise Not_found.
getservbyport [Unix]
与えられたサービス番号で services の検索を検索します。 見つからない場合には Not_found 例外が発生します。
getsockname [UnixLabels]
Return the address of the given socket.
getsockname [Unix]
与えられたソケットのアドレスを返します。
getsockopt [UnixLabels]
Return the current status of a boolean-valued option in the given socket.
getsockopt [Unix]
与えられたソケットの真偽値オブションの現在の値を返します。
getsockopt_error [UnixLabels]
Return the error condition associated with the given socket, and clear it.
getsockopt_error [Unix]
与えられたソケットに対応づけられたエラー状態を返し、エラー状態をリセットします。
getsockopt_float [UnixLabels]
Same as Unix.getsockopt for a socket option whose value is a floating-point number.
getsockopt_float [Unix]
Unix.getsockopt と同じですが、浮動小数点数値オプション用です。
getsockopt_int [UnixLabels]
Same as Unix.getsockopt for an integer-valued socket option.
getsockopt_int [Unix]
Unix.getsockopt と同じですが、整数値オプション用です。
getsockopt_optint [UnixLabels]
Same as Unix.getsockopt for a socket option whose value is an int option.
getsockopt_optint [Unix]
Unix.getsockopt と同じですが、 int option 型のオプション用です。
gettimeofday [UnixLabels]
Same as UnixLabels.time, but with resolution better than 1 second.
gettimeofday [Unix]
Unix.time と同じですが、分解能が 1 秒より上です。
getuid [UnixLabels]
Return the user id of the user executing the process.
getuid [Unix]
プロセスを実行しているユーザーのユーザー ID を返します。
global_replace [Str]
global_replace regexp templ ss の部分文字列で regexp にマッチしたものを templ で置き換えたものを返します。 置換テンプレート templ には \1\2 を含めることができます。 これらは正規表現中の対応するグループにマッチしたテキストで置き換えられます。 \0 は正規表現全体にマッチしたテキストを表します。
global_substitute [Str]
global_substitute regexp subst s は、 s の部分文字列で regexp にマッチしたものを、 subst の戻り値で置き換えます。 subst はマッチした部分文字列ごとに一回ずつ、 s (文字列全体)を引数として呼び出されます。
gmtime [UnixLabels]
Convert a time in seconds, as returned by UnixLabels.time, into a date and a time.
gmtime [Unix]
Unix.time の返した秒数を日付と時刻に変換します。 UTC (協定世界時)すなわち GMT を仮定しています。
green [Graphics]
grid [Tk]
Pack a widget inside its parent, using the grid layout engine.
group_beginning [Str]
group_beginning n は正規表現の n 番目のグループにマッチした文字列の最初の文字の位置を返します。
group_end [Str]
group_end n は正規表現の n 番目のグループにマッチした文字列に後続する文字の位置を返します。
gt_big_int [Big_int]
多倍長整数同士の通常の比較述語。
gt_num [Num]
guard [Event]
guard fn returns the event that, when synchronized, computes fn() and behaves as the resulting event.

H
handle_unix_error [UnixLabels]
handle_unix_error f x applies f to x and returns the result.
handle_unix_error [Unix]
handle_unix_error f xfx に適用してその戻り値を返します。 Unix_error 例外が発生した場合には、そのエラーの説明文字列を表示し、終了コード 2 で終了します。
hash [MoreLabels.Hashtbl]
hash [Hashtbl.HashedType]
キーに対するハッシュ関数です。 equal に関して等しいキーは hash で計算されるハッシュ値が同一でなければなりません。 任意のキーの型に対して (equal, hash) として適切な値の組としては、例えば、オブジェクトを構造で比較する場合には ((=), Hashtbl.hash) があり、 nan を正しく扱い、オブジェクト同士を構造で比較する場合には ((fun x y -> compare x y = 0), Hashtbl.hash) があり、オブジェクトをアドレスで比較する場合(循環構造のあるキーを扱いたい場合)には ((==), Hashtbl.hash) 等があります。
hash [Hashtbl]
Hashtbl.hash x は正の整数を任意の型の値に対応づけます。 x = y または Pervasives.compare x y = 0 のとき、 hash x = hash y であることが保証されています。 さらに、 hash は循環構造に対しても必ず停止します。
hash_param [MoreLabels.Hashtbl]
hash_param [Hashtbl]
Hashtbl.hash_param n m xx について hash と同じ性質のハッシュ値を計算します。 追加の引数 nm はハッシュ関数をより精確に制御します。 ハッシュ関数は x の構造を深さ優先で、右から左に走査し、 n 個の意味のあるノードに遭遇するか、意味の有無にかかわらず m 個のノードに遭遇すると停止します。 ここでいう意味のあるノードとは、整数、浮動小数点数、文字列、文字、真偽値、定数構成子です。 mn により大きな値を指定することで、より多くのノードが最終的なハッシュ値の計算に関係することになり、それによってハッシュ値の衝突がより起こりにくくなります。 しかし、計算により時間がかかるようになります。 パラメータ mn の値は精確さと速度のトレードオフになります。
hd [StdLabels.List]
hd [ListLabels]
Return the first element of the given list.
hd [List]
与えられたリストの先頭要素を返します。リストが空の場合には Failure "hd" 例外が発生します。
header_size [Marshal]
マーシャリングされた値のバイト表現は固定長のヘッダと可変長のデータ部分から構成されます。 データ部分の大きさはヘッダに格納されています。 Marshal.header_size はヘッダのサイズを文字数で表したものです。 Marshal.data_size buff ofsbuffofs 番目から適切なヘッダが始まる場合に、文字数単位のデータ部分の大きさになります。 Marshal.total_size buff ofs はマーシャリングされた値全体の大きさを文字数で表したものです。 Marshal.data_sizeMarshal.total_size は両方とも buffofs 文字目以降が適切なヘッダを含まない場合には Failure 例外を発生させます。

I
i [Complex]
複素数 i
id [Thread]
Return the identifier of the given thread.
id [Oo]
引数のオブジェクトを識別する、現在のプログラムの実行中で一意な整数を返します。
ifprintf [Printf]
Printf.fprintf と同じですが、何も出力しません。 条件付きで出力する場合に一部を無視するのに便利です。
ifprintf [Format]
Same as fprintf above, but does not print anything.
ignore [Pervasives]
引数の値を捨てて () を返します。 例えば ignore(f x) は副作用のある関数 f の結果を捨てます。 これは f x; () と等価ですが、こちらはコンパイラが警告を表示するかもしれません。 代わりに ignore(f x) と書くと警告を避けることができます。
ikfprintf [Format]
Same as kfprintf above, but does not print anything.
in_channel_length [Pervasives.LargeFile]
in_channel_length [Pervasives]
与えられたチャネルが開いている通常のファイルのサイズ(文字数)を返します。 通常のファイル以外を開いているチャネルの場合、戻り値に意味はありません。 結果として返っていくサイズは、テキストモードで開いているチャネルで行なわれる行末の変換を考慮していません。
in_channel_of_descr [UnixLabels]
Create an input channel reading from the given descriptor.
in_channel_of_descr [Unix]
与えられたファイル記述子から読み込む入力チャネルを作成します。 初期状態ではチャネルはバイナリモードです。 テキストモードにするには set_binary_mode_in ic false としてください。
incr [Pervasives]
与えられたリファレンスに格納された値をインクリメントします。 fun r -> r := succ !r と等価です。
incr_num [Num]
r を数へのリファレンスとしたとき、 incr rr := !r + 1 になります。
index [StringLabels]
String.index s c returns the position of the leftmost occurrence of character c in string s.
index [String]
String.index s c は文字列 s 中で文字 c が現れる最初の添字を返します。
index [StdLabels.String]
index_from [StringLabels]
Same as StringLabels.index, but start searching at the character position given as second argument.
index_from [String]
String.index_from s i c は文字列 s の位置 i 以降で最初に文字 c の現れる位置の添字を返します。 String.index s cString.index_from s 0 c と等価です。
index_from [StdLabels.String]
inet6_addr_any [UnixLabels]
A special IPv6 address, for use only with bind, representing all the Internet addresses that the host machine possesses.
inet6_addr_any [Unix]
bind とともに使うための特別な IPv6 アドレスで、ホスト計算機が保有するすべてのインターネットアドレスを表します。
inet6_addr_loopback [UnixLabels]
A special IPv6 address representing the host machine (::1).
inet6_addr_loopback [Unix]
ホスト計算機を表す特別な IPv6 アドレスです(::1)。
inet_addr_any [UnixLabels]
A special IPv4 address, for use only with bind, representing all the Internet addresses that the host machine possesses.
inet_addr_any [Unix]
bind とともに使うための特別な IPv4 アドレスで、ホスト計算機が保有するすべてのインターネットアドレスを表します。
inet_addr_loopback [UnixLabels]
A special IPv4 address representing the host machine (127.0.0.1).
inet_addr_loopback [Unix]
ホスト計算機を表す特別な IPv4 アドレスです(127.0.0.1)。
inet_addr_of_string [UnixLabels]
Conversion from the printable representation of an Internet address to its internal representation.
inet_addr_of_string [Unix]
インターネットアドレスを表示可能な表現から内部表現に変換します。 引数の文字列は、 IPv4 アドレスに対してはよっつの数をピリオドを区切ったもの(XXX.YYY.ZZZ.TTT)、 IPv6 アドレスに対してはやっつ以下の数字をコロンで区切ったものになります。 与えられた文字列がこれらの形式でない場合には Failure 例外が発生します。
infinity [Pervasives]
正の無限大
infix_tag [Obj]
inherits [CamlinternalOO]
init [StdLabels.Array]
init [Random]
与えられた引数を種として乱数生成器を初期化します。 同一の種を与えると乱数生成器は常に同じ数の列を生成します。
init [Dynlink]
init [ArrayLabels]
Array.init n f returns a fresh array of length n, with element number i initialized to the result of f i.
init [Array]
Array.init n f は長さ n の配列を作成し、 i 番目の要素を f i の戻り値で初期化します。 言い換えると、 f を整数 0 から n - 1 に適用して、その結果を表にします。
init_class [CamlinternalOO]
init_mod [CamlinternalMod]
initgroups [Unix]
initgroups user group/etc/group のグループデータベースを読み込み、 user の属しているグループを使ってグループアクセスリストを初期化します。 追加のグループとして group もリストに追加されます。
input [Pervasives]
input ic buf pos len は与えられたチャネル ic から len 文字読み込み、文字列 bufpos 文字目以降に格納します。 実際に読み込んだ文字数(0 以上 len 以下)を返します。 戻り値が 0 以上 len 未満のときは、充分な文字がなかったか、分割して読み込んだ方がよいと処理系が判斷したかで、要求された len 文字がすべては読まれなかったということです。 必要であれば、残りの文字を読み込むために input を再度呼び出さなければなりません (ちょうど len 文字読み込む方法については really_input も参照してください)。 poslenbuf の有効な部分文字列を表さない場合には Invalid_argument "input" 例外が発生します。
input [Digest]
与えられた入力チャネルからダイジェストを読み込みます。
input_binary_int [Pervasives]
与えられた入力チャネルからバイナリ形式(4 バイト、ビッグエンディアン)でエンコードされた整数を読み込みます。 output_binary_int を参照してください。 整数の読み込み中にファイル終端に達した場合には End_of_file 例外が発生します。
input_byte [Pervasives]
input_char と同じですが、文字を表わす 8 ビット整数を返します。 ファイル終端に達した場合には End_of_file 例外が発生します。
input_char [Pervasives]
与えられた入力チャネルから文字をひとつ読み込みます。 読み込める文字がなかった場合には End_of_file 例外が発生します。
input_line [Pervasives]
与えられた入力チャネルから改行文字が現れるまで文字を読み込み、そこから末尾の改行文字を除いた文字列を返します。 行の先頭でファイル終端に達した場合には End_of_file 例外が発生します。
input_value [Pervasives]
output_value の生成したオブジェクトの外部表現を読み込み、それに対応する値を返します。 この関数は Marshal.from_channel と同じです。 特に型安全性の欠如などについて、より詳しくは Marshal モジュールの説明を参照してください。
int [Random.State]
int [Random]
Random.int bound は 0 以上 bound 未満のランダムな整数を返します。 bound は 0 より大きく 230 未満でなければなりません。
int [Bigarray]
int16_signed [Bigarray]
int16_unsigned [Bigarray]
int32 [Random.State]
int32 [Random]
Random.int32 bound は 0 以上 bound 未満のランダムな整数を返します。 bound は 0 より大きくなければなりません。
int32 [Bigarray]
int32_of_big_int [Big_int]
多倍長整数を 32 ビット整数に変換します。 引数が [-231, 231-1] の区間にない場合には Failure 例外が発生します。
int64 [Random.State]
int64 [Random]
Random.int64 bound は 0 以上 bound 未満のランダムな整数を返します。 bound は 0 より大きくなければなりません。
int64 [Bigarray]
int64_of_big_int [Big_int]
多倍長整数を 64 ビット整数に変換します。 引数が [-263, 263-1] の区間にない場合には Failure 例外が発生します。
int8_signed [Bigarray]
int8_unsigned [Bigarray]
int_of_big_int [Big_int]
多倍長整数を int 型の通常の整数に変換します。 引数が通常の整数で表現できない場合には Failure "int_of_big_int" 例外が発生します。
int_of_char [Pervasives]
引数文字の ASCII コードを返します。
int_of_float [Pervasives]
与えられた浮動小数点数値を整数に切り詰めます。 引数が nan である場合や、表現可能な整数の範囲を越えた場合の結果は規定されていません。
int_of_num [Num]
int_of_string [Pervasives]
与えられた文字列を整数に変換します。 文字列は十進(デフォルト)または十六進(0x ないしは 0X で始まっていた場合)または八進(0o ないしは 0O で始まっていた場合)または二進(0b ないしは 0B で始まっていた場合)で読み込まれます。 引数が整数の文字列表現として妥当なものでなかった場合や、引数の表す整数が int 型で表現可能な範囲を越えていた場合には Failure "int_of_string" 例外が発生します。
int_tag [Obj]
integer_num [Num]
integer_numn に最も近い整数を返します。ふたつの整数の中間にある場合には 0 に向って丸めます。
inter [Set.S]
積集合
inter [MoreLabels.Set.S]
interactive [Sys]
このリファレンス値は、スタンドアロンプログラムでは最初 false に設定され、対話式トップレベルシステム ocaml から実行されると true に設定されます。
inv [Complex]
積の逆元(1/z)。
invalid_arg [Pervasives]
与えられた文字列で Invalid_argument 例外を送出します。
is_block [Obj]
is_directory [Sys]
与えられた名前がディレクトリを参照していれば true を返し、他の種類のファイルを参照していれば false を返します。 与えられた名前のファイルが存在しなければ Sys_error 例外が発生します。
is_empty [Stack]
与えられたスタックが空の場合には true を返し、そうでなければ false を返します。
is_empty [Set.S]
集合が空であるかどうか検査します。
is_empty [Queue]
与えられたキューが空であれば true を返し、そうでなければ false を返します。
is_empty [MoreLabels.Set.S]
is_empty [MoreLabels.Map.S]
is_empty [Map.S]
表が空かどうか検査します。
is_implicit [Filename]
ファイル名が相対パスで、カレントディレクトリに陽に相対的(Unix であれば、 ... で始るパス)でなければ true を返し、ルートディレクトリやカレントディレクトリへの参照から始まっていれば false を返します。
is_int [Obj]
is_int_big_int [Big_int]
与えられた多倍長整数が int 型の通常の整数で精度を失わずに表現できる程度に小さいか検査します。 32 ビットプラットフォームでは is_int_big_int aa が -230 から 230 - 1 の範囲にある場合、かつその場合に限り true を返し、 64 ビットプラットフォームでは a が -262 から 262 - 1 の範囲にある場合、かつその場合に限り true を返します。
is_integer_num [Num]
ある数が整数かどうか検査します。
is_native [Dynlink]
プログラムがネイティブコンパイルされていれば true、バイトコードであれば false になります。
is_relative [Filename]
ファイル名が現在のディレクトリに対する相対パスであれば true を返し、絶対パス(例えば、 Unix であれば / で始まっていれば) false を返します
isatty [UnixLabels]
Return true if the given file descriptor refers to a terminal or console window, false otherwise.
isatty [Unix]
与えられたファイル記述子が端末かコンソールウィンドウを指していた場合に true を返します。そうでなければ false を返します。
iter [Weak.S]
iter f t calls f on each element of t, in some unspecified order.
iter [StringLabels]
String.iter f s applies function f in turn to all the characters of s.
iter [String]
String.iter f ss のすべての文字に順に関数 f を適用します。 f s.[0]; f s.[1]; ...; f s.[String.length s - 1]; () と等価です。
iter [Stream]
Stream.iter f s はストリーム s 全体を走査し、各要素に順番に関数 f を適用します。
iter [StdLabels.String]
iter [StdLabels.List]
iter [StdLabels.Array]
iter [Stack]
iter f s はスタック s の要素に、先頭の要素からスタックの底の要素に順に f を適用します。 スタック自体は変更されません。
iter [Set.S]
iter f ss の全要素に順番に f を適用します。 fs の要素に対して、要素の型上の順序において昇順に適用されます。
iter [Queue]
iter f qq の要素に、最初から追加されたものから最近追加されたものへ、順に f を適用します。 キュー自体は変更されません。
iter [MoreLabels.Set.S]
iter [MoreLabels.Map.S]
iter [MoreLabels.Hashtbl.S]
iter [MoreLabels.Hashtbl]
iter [Map.S]
iter f mf を表 m 中の全束縛に適用します。 f は第一引数としてキーを受け取り、第二引数として対応する値を受け取ります。 f に渡される束縛は、キー上の順序で昇順に渡されます。
iter [ListLabels]
List.iter f [a1; ...; an] applies function f in turn to a1; ...; an.
iter [List]
List.iter f [a1; ...; an] は関数 fa1; ...; an に順に適用します。 これは begin f a1; f a2; ...; f an; () end と等価です。
iter [Hashtbl.S]
iter [Hashtbl]
Hashtbl.iter f tbltbl 中のすべての束縛に f を適用します。 f はキーを第一引数として取り、そのキーに対応する値を第二引数として取ります。 f に渡される束縛の順序は未定義です。 ただし、テーブルに同一のキーに対する値が複数ある場合には、追加したのと逆の順番に、すなわち、もっとも最近に追加した束縛が最初に f に渡されます。
iter [Dbm]
iter f db はデータベース db 中の各 (key, data) の組を fに適用します。 fkey を第一引数として取り、第二引数として data を取ります。
iter [ArrayLabels]
Array.iter f a applies function f in turn to all the elements of a.
iter [Array]
Array.iter f a は関数 fa のすべての要素に順に適用します。 これは、 f a.(0); f a.(1); ...; f a.(Array.length a - 1); () と等価です。
iter2 [StdLabels.List]
iter2 [ListLabels]
List.iter2 f [a1; ...; an] [b1; ...; bn] calls in turn f a1 b1; ...; f an bn.
iter2 [List]
List.iter2 f [a1; ...; an] [b1; ...; an]f a1 b1; ...; f an bn を順に呼び出します。 ふたつのリストの長さが異なる場合は Invalid_argument 例外が発生します。
iteri [StdLabels.Array]
iteri [ArrayLabels]
Same as ArrayLabels.iter, but the function is applied to the index of the element as first argument, and the element itself as second argument.
iteri [Array]
Array.iter と同じですが、関数の第一引数として要素の添字を渡し、第二引数として要素自体を渡します。

J
join [Thread]
join th suspends the execution of the calling thread until the thread th has terminated.
junk [Stream]
ストリームの最初の要素を取り除きます。必要であれば前以ってストリームの凍結を解除します。

K
kbprintf [Printf]
bprintf と同じですが、出力が終わった際に直ちに戻らずに、第一引数の関数にバッファを引き渡します。
key_pressed [Graphics]
Return true if a keypress is available; that is, if read_key would not block.
kfprintf [Printf]
fprintf と同じですが、表示が終わった際に直ちに戻らずに、出力チャネルを第一引数の関数に渡します。
kfprintf [Format]
Same as fprintf above, but instead of returning immediately, passes the formatter to its first argument at the end of printing.
kill [UnixLabels]
kill pid sig sends signal number sig to the process with id pid.
kill [Unix]
kill pid sig はシグナル番号 sig をプロセス ID が pid のプロセスに送ります。
kill [Thread]
Terminate prematurely the thread whose handle is given.
kind [Bigarray.Array3]
Return the kind of the given big array.
kind [Bigarray.Array2]
Return the kind of the given big array.
kind [Bigarray.Array1]
Return the kind of the given big array.
kind [Bigarray.Genarray]
Return the kind of the given big array.
kprintf [Printf]
ksprintf の非推奨の別名です。
kprintf [Format]
Deprecated name.
kscanf [Scanf]
Same as Scanf.bscanf, but takes an additional function argument ef that is called in case of error: if the scanning process or some conversion fails, the scanning function aborts and calls the error handling function ef with the scanning buffer and the exception that aborted the scanning process as arguments.
ksprintf [Printf]
上の sprintf と同じですが、文字列を返す代わりに、それを第一引数の関数に渡します。
ksprintf [Format]
Same as sprintf above, but instead of returning the string, passes it to the first argument.

L
last_chars [Str]
last_chars s ns の最後の n 文字を返します。
layout [Bigarray.Array3]
Return the layout of the given big array.
layout [Bigarray.Array2]
Return the layout of the given big array.
layout [Bigarray.Array1]
Return the layout of the given big array.
layout [Bigarray.Genarray]
Return the layout of the given big array.
lazy_from_fun [Lazy]
lazy_from_fun flazy (f ()) と同じですが、若干効率的です。
lazy_from_val [Lazy]
lazy_from_val は既に評価された中断 v を返します。 これは特別な目的のために使うもので、 lazy (v) と混同してはいけません。
lazy_is_val [Lazy]
lazy_is_val xx が既に評価されていて、例外を発生させない場合に true を返します。
lazy_tag [Obj]
ldexp [Pervasives]
ldexp x nx *. 2 ** n を返します。
le_big_int [Big_int]
le_num [Num]
length [Weak]
Weak.length ar returns the length (number of elements) of ar.
length [StringLabels]
Return the length (number of characters) of the given string.
length [String]
与えられた文字列の長さ(文字数)を返します。
length [StdLabels.String]
length [StdLabels.List]
length [StdLabels.Array]
length [Stack]
スタックの要素数を返します。
length [Queue]
キューの要素数を返します。
length [MoreLabels.Hashtbl.S]
length [MoreLabels.Hashtbl]
length [ListLabels]
Return the length (number of elements) of the given list.
length [List]
与えられたリストの長さ(要素数)を返します。
length [Hashtbl.S]
length [Hashtbl]
Hashtbl.length tbltbl 中に存在する束縛の個数を返します。 複数の値に束縛されているキーは複数回数えられます。 つまり、 Hashtbl.lengthHashtbl.iter が第一引数の関数を呼び出す回数を返します。
length [Buffer]
バッファに現在格納されている文字数を返します。
length [ArrayLabels]
Return the length (number of elements) of the given array.
length [Array]
与えられた配列の長さ(要素数)を返します。
lexeme [Lexing]
Lexing.lexeme lexbuf returns the string matched by the regular expression.
lexeme_char [Lexing]
Lexing.lexeme_char lexbuf i returns character number i in the matched string.
lexeme_end [Lexing]
Lexing.lexeme_end lexbuf returns the offset in the input stream of the character following the last character of the matched string.
lexeme_end_p [Lexing]
Like lexeme_end, but return a complete position instead of an offset.
lexeme_start [Lexing]
Lexing.lexeme_start lexbuf returns the offset in the input stream of the first character of the matched string.
lexeme_start_p [Lexing]
Like lexeme_start, but return a complete position instead of an offset.
lineto [Graphics]
Draw a line with endpoints the current point and the given point, and move the current point to the given point.
link [UnixLabels]
link source dest creates a hard link named dest to the file named source.
link [Unix]
link source destsource というファイルへのハードリンクを dest という名前で作成します。
list [Sort]
Sort a list in increasing order according to an ordering predicate.
listen [UnixLabels]
Set up a socket for receiving connection requests.
listen [Unix]
ソケットを接続要求を受け付けるように設定します。 整数引数は保留する要求の個数の上限です。
lnot [Pervasives]
ビットごとの論理否定。
loadfile [Dynlink]
バイトコード: 与えられたバイトコードオブジェクトファイル(.cmo ファイル)またはバイトコードライブラリファイル(.cma ファイル)を読み込み、実行中のプログラムにリンクします。 ネイティブコード: 与えられた OCaml プラグインファイル(通常 .cmxs)を読み込み、実行中のプログラムにリンクします。 読み込まれた翻訳単位のトップレベル式がすべて評価されます。 ただし、読み込まれた翻訳単位で定義されている値の名前にアクセスする方法はありません。 読み込まれた側で関数のテーブルを変更するなどしてエントリポイントをメインプログラムに登録しなければなりません。
loadfile_private [Dynlink]
loadfile と同じですが、読み込まれた翻訳単位が後で動的に読み込まれたモジュールから隠蔽されます(参照できなくなります)。
localtime [UnixLabels]
Convert a time in seconds, as returned by UnixLabels.time, into a date and a time.
localtime [Unix]
Unix.time の返した秒数を日付と時刻に変換します。 地域時間を仮定しています。
lock [Mutex]
与えられた Mutex をロックします。任意の時点においてある Mutex をロックできるのはただひとつのスレッドだけです。 他のスレッドによってロックされている Mutex をロックしようとすると、ロックしようとしたスレッドはその Mutex のロックが解除されるまで中断することになります。
lockf [UnixLabels]
lockf fd cmd size puts a lock on a region of the file opened as fd.
lockf [Unix]
lockf fd cmd sizefd として open されているファイルの領域をロックします。 ロックされるのは、現在の読み込み/書き込み位置から、 size が正の場合には前方に size バイト、負の場合には後方に size バイト、 0 の場合はファイル終端までの領域になります。 書き込みロックは、他のプロセスがその領域に対して読み込み・書き込みロックを獲得できないようにします。 読み込みロックは、他のプロセスはその領域に対する書き込みロックを獲得できませんが、読み込みロックは獲得できます。
log [Pervasives]
自然対数。
log [Complex]
自然対数(底 e)。
log10 [Pervasives]
底 10 の対数。
log1p [Pervasives]
log1p xlog(1.0 +. x) (自然対数)を返します。 x が 0.0 に近いときでも精確な結果を返します。
logand [Nativeint]
ビットごとの論理積。
logand [Int64]
ビットごとの論理積。
logand [Int32]
ビットごとの論理積。
lognot [Nativeint]
ビットごとの論理否定。
lognot [Int64]
ビットごとの論理否定。
lognot [Int32]
ビットごとの論理否定。
logor [Nativeint]
ビットごとの論理和。
logor [Int64]
ビットごとの論理和。
logor [Int32]
ビットごとの論理和。
logxor [Nativeint]
ビットごとの排他的論理和。
logxor [Int64]
ビットごとの排他的論理和。
logxor [Int32]
ビットごとの排他的論理和。
lookup_tables [CamlinternalOO]
lower_window [Tk]
Raise or lower the window associated to a widget.
lowercase [StringLabels]
Return a copy of the argument, with all uppercase letters translated to lowercase, including accented letters of the ISO Latin-1 (8859-1) character set.
lowercase [String]
引数の文字列中の大文字(ISO Latin-1 (8859-1)のアクセント付き文字を含む)を小文字に置き換えたコピーを返します。
lowercase [StdLabels.String]
lowercase [Char]
与えられた文字を対応する小文字に変換します。
lseek [UnixLabels.LargeFile]
lseek [UnixLabels]
Set the current position for a file descriptor
lseek [Unix.LargeFile]
lseek [Unix]
ファイル記述子の現在位置を設定します。
lstat [UnixLabels.LargeFile]
lstat [UnixLabels]
Same as UnixLabels.stat, but in case the file is a symbolic link, return the information for the link itself.
lstat [Unix.LargeFile]
lstat [Unix]
Unix.stat と同じですが、ファイルがシンボリックリンクであった場合、そのリンク自体の情報を返します。
lt_big_int [Big_int]
lt_num [Num]

M
magenta [Graphics]
magic [Obj]
mainLoop [Tk]
Start the main event loop
major [Gc]
Do a minor collection and finish the current major collection cycle.
major_slice [Gc]
Do a minor collection and a slice of major collection.
make [StringLabels]
String.make n c returns a fresh string of length n, filled with the character c.
make [String]
String.make n c は長さ n で文字 c で埋められた新しい文字列を返します。
make [StdLabels.String]
make [StdLabels.Array]
make [Random.State]
新たな状態を作成し、それを与えられた種で初期化します。
make [ArrayLabels]
Array.make n x returns a fresh array of length n, initialized with x.
make [Array]
Array.make n x は長さ n の配列を新たに作り、その要素を x で初期化します。 この配列の要素はすべて x と(述語 == の意味で)物理的に等価です。 そのため、 x が変更可能な場合、 x はこの配列の全要素で共有されるため、 配列の要素のいずれかを介して x を変更すると配列の要素がすべて同時に変更されます。
make_class [CamlinternalOO]
make_class_store [CamlinternalOO]
make_formatter [Format]
make_formatter out flush returns a new formatter that writes according to the output function out, and the flushing function flush.
make_image [Graphics]
Convert the given color matrix to an image.
make_lexer [Genlex]
字句解析関数を作成します。第一引数は予約語のリストです。 識別子 s がこのリストに含まれていた場合、戻り値のストリーム内でその識別子は Kwd s になります。 そうでなければ Ident s になります。 特殊文字 s がこのリストに含まれていた場合、戻り値のストリーム内でその識別子は Kwd s になります。 そうでなければ字句エラー(Parse_error 例外)が発生します。 空白と改行は読み飛ばされます。 (**) で区切られたコメントも同じく読み飛ばされます。 コメントは入れ子にすることができます。
make_matrix [StdLabels.Array]
make_matrix [ArrayLabels]
Array.make_matrix dimx dimy e returns a two-dimensional array (an array of arrays) with first dimension dimx and second dimension dimy.
make_matrix [Array]
Array.make_matrix dimx dimy は、最初の次元が dimx、二番目の次元が dimy であるような二次元配列(配列の配列)を返します。 この行列の要素はすべて e に物理的に等価な要素で初期化されます。 行列 m(x, y) 要素は m.(x).(y) でアクセスできます。
make_self_init [Random.State]
新たな状態を作成し、それをシステム依存の低エントロピーの種で初期化します。
map [StdLabels.List]
map [StdLabels.Array]
map [MoreLabels.Map.S]
map [Map.S]
map f mm と同じ定義域で(訳注: キーが同じで)、 m 中のすべての束縛の値 afa に適用した結果で置き換えられた表を返します。 f に渡される束縛はキー上の順序について昇順で渡されます。
map [ListLabels]
List.map f [a1; ...; an] applies function f to a1, ..., an, and builds the list [f a1; ...; f an] with the results returned by f.
map [List]
List.iter f [a1; ...; an] は関数 fa1; ...; an に適用し、 f の戻り値を使ってリスト [f a1; ...; f an] を作成します。 末尾再帰ではありません。
map [ArrayLabels]
Array.map f a applies function f to all the elements of a, and builds an array with the results returned by f: [| f a.(0); f a.(1); ...; f a.(Array.length a - 1) |].
map [Array]
Array.map f aa の全要素に関数 f を適用し、その戻り値で配列を作ります。 [| f a.(0); f a.(1); ...; f a.(Array.length a - 1) |] と等価です。
map2 [StdLabels.List]
map2 [ListLabels]
List.map2 f [a1; ...; an] [b1; ...; bn] is [f a1 b1; ...; f an bn].
map2 [List]
List.map2 f [a1; ...; an] [b1; ...; bn][f a1 b1; ...; f an bn] になります。 ふたつのリストの長さが異なる場合は Invalid_argument 例外が発生します。
map_file [Bigarray.Array3]
Memory mapping of a file as a three-dimensional big array.
map_file [Bigarray.Array2]
Memory mapping of a file as a two-dimensional big array.
map_file [Bigarray.Array1]
Memory mapping of a file as a one-dimensional big array.
map_file [Bigarray.Genarray]
Memory mapping of a file as a big array.
mapi [StdLabels.Array]
mapi [MoreLabels.Map.S]
mapi [Map.S]
Map.S.map と同じですが、表の各束縛について、関数 f は引数としてキーとそれに対応する値の両方を受け取ります。
mapi [ArrayLabels]
Same as ArrayLabels.map, but the function is applied to the index of the element as first argument, and the element itself as second argument.
mapi [Array]
Array.map と同じですが、関数の第一引数として要素の添字を渡し、第二引数として要素自体を渡します。
marshal [Obj]
match_beginning [Str]
match_beginning()Str.string_matchStr.search_forwardStr.search_backward でマッチした部分文字列の最初の文字の位置を返します。
match_end [Str]
match_end()Str.string_matchStr.search_forwardStr.search_backward でマッチした部分文字列に後続する文字の位置を返します。
matched_group [Str]
matched_group n s は、直近の Str.string_matchStr.search_forwardStr.search_backward の呼び出しの正規表現の \(...\)n 番目のグループにマッチした s の部分文字列を返します。 s がこれらの関数の呼び出し時に渡した文字列と同じであることは利用者が確認しなければなりません。 n 番目のグループがマッチしていなかった場合には matched_group n sNot_found 例外を発生させます。 これは、グループが選択 \| やオプション ?、繰り返し\* の中にあった場合に起こります。 例えば、空文字列は \(a\)* にマッチしますが、 matched_group 1 ""Not_found 例外を発生させます。これは、最初のグループそれ自体はマッチしていないからです。
matched_string [Str]
matched_string s は、直近の Str.string_matchStr.search_forwardStr.search_backward でマッチした s の部分文字列を返します。 s がこれらの関数に渡した文字列と同じであることは利用者が確認しなければなりません。
max [Pervasives]
ふたつの引数のうち、より大きいものを返します。 引数のいずれかが、浮動小数点値 nan であった場合の結果は規定されていません。
max_array_length [Sys]
通常の配列の最大長。 float の配列の最大長は 32 bit の計算機では max_array_length / 2 になり、 64 bit の計算機では max_array_length になります。
max_big_int [Big_int]
引数のうちより大きい方を返します。
max_binding [MoreLabels.Map.S]
max_binding [Map.S]
Map.S.min_binding と同じですが、与えられた表の中で最大の束縛を返します。
max_elt [Set.S]
Set.S.min_elt と同じですが、与えられた集合の最大の要素を返します。
max_elt [MoreLabels.Set.S]
max_float [Pervasives]
float 型で最大の有限の値。
max_int [Pervasives]
表現可能な最大の整数。
max_int [Nativeint]
ネイティブ整数で表せる最大の整数です。 32 ビットプラットフォームでは 231 - 1、 64 ビットプラットフォームでは 263 - 1 になります。
max_int [Int64]
64 ビット整数で表せる最大の整数、 263 - 1 です。
max_int [Int32]
32 ビット整数で表せる最大の整数、 231 - 1 です。
max_num [Num]
引数のうちより大きい方を返します。
max_string_length [Sys]
文字列の最大長。
mem [Weak.S]
mem t x returns true if there is at least one instance of x in t, false otherwise.
mem [StdLabels.List]
mem [Set.S]
mem x sx が集合 s に属するかどうか検査します。
mem [MoreLabels.Set.S]
mem [MoreLabels.Map.S]
mem [MoreLabels.Hashtbl.S]
mem [MoreLabels.Hashtbl]
mem [Map.S]
mem x mmx に対する束縛を格納していたら true を返し、そうでなければ false を返します。
mem [ListLabels]
mem a l is true if and only if a is equal to an element of l.
mem [List]
mem a lal の要素と等しい場合、かつその場合にかぎり真を返します。
mem [Hashtbl.S]
mem [Hashtbl]
Hashtbl.mem tbl xxtbl 中で束縛されているか検査します。
mem_assoc [StdLabels.List]
mem_assoc [ListLabels]
Same as ListLabels.assoc, but simply return true if a binding exists, and false if no bindings exist for the given key.
mem_assoc [List]
List.assoc と同じですが、束縛が存在した場合には単純に真を返し、与えられたキーに対する束縛がない場合には偽を返します。
mem_assq [StdLabels.List]
mem_assq [ListLabels]
Same as ListLabels.mem_assoc, but uses physical equality instead of structural equality to compare keys.
mem_assq [List]
List.mem_assoc と同じですが、キーの比較に構造等価性ではなく物理的等価性を使います。
memq [StdLabels.List]
memq [ListLabels]
Same as ListLabels.mem, but uses physical equality instead of structural equality to compare list elements.
memq [List]
List.mem と同じですが、リストの要素を比較するのに構造等価性ではなく、物理的等価性を使います。
merge [Weak.S]
merge t x returns an instance of x found in t if any, or else adds x to t and return x.
merge [StdLabels.List]
merge [Sort]
Merge two lists according to the given predicate.
merge [MoreLabels.Map.S]
merge [Map.S]
merge f m1 m2 は、キーが m1m2 内のキーの部分集合であるような表を計算します。 束縛の存在、及び対応する値は、関数 f により決定されます。
merge [ListLabels]
Merge two lists: Assuming that l1 and l2 are sorted according to the comparison function cmp, merge cmp l1 l2 will return a sorted list containting all the elements of l1 and l2.
merge [List]
ふたつのリストを併合します。 l1l2 が比較関数 cmp に関して整列しているとすると、 merge cmp l1 l2l1l2 のすべての要素を含む、整列したリストを返します。 等しい要素が複数ある場合には l1 の要素が l2 の要素より先に現れます。 末尾再帰ではありません(引数のリストの長さの和に比例します)。
min [Pervasives]
ふたつの引数のうち、より小さいものを返します。 引数のいずれかが、浮動小数点値 nan であった場合の結果は規定されていません。
min_big_int [Big_int]
引数のうちより小さい方を返します。
min_binding [MoreLabels.Map.S]
min_binding [Map.S]
与えられた表の中で(Ord.compare の順序について)最小の束縛を返します。 表が空のときは Not_found 例外が発生します。
min_elt [Set.S]
集合の要素のうち、 Ord.compare の順序に関して最小の要素を返します。 集合が空の場合には Not_found 例外が発生します。
min_elt [MoreLabels.Set.S]
min_float [Pervasives]
float 型で、零でない正の非正規化された最小の値。
min_int [Pervasives]
表現可能な最小の整数。
min_int [Nativeint]
ネイティブ整数で表せる最小の整数です。 32 ビットプラットフォームでは - 231、 64 ビットプラットフォームでは - 263 になります。
min_int [Int64]
64 ビット整数で表せる最小の整数、 - 263 です。
min_int [Int32]
32 ビット整数で表せる最小の整数、 - 231 です。
min_num [Num]
引数のうちより小さい方を返します。
minor [Gc]
Trigger a minor collection.
minus_big_int [Big_int]
単項の符号反転。
minus_num [Num]
単項の符号反転。
minus_one [Nativeint]
ネイティブ整数の -1。
minus_one [Int64]
64 ビット整数の -1。
minus_one [Int32]
32 ビット整数の -1。
mkdir [UnixLabels]
Create a directory with the given permissions.
mkdir [Unix]
与えられたパーミッションでディレクトリを作成します。
mkfifo [UnixLabels]
Create a named pipe with the given permissions.
mkfifo [Unix]
指定のパーミッションで名前付きパイプを作成します。
mktime [UnixLabels]
Convert a date and time, specified by the tm argument, into a time in seconds, as returned by UnixLabels.time.
mktime [Unix]
tm 引数で指定された日付と時刻を Unix.time の返す秒数に変換します。 tmtm_isdsttm_wdaytm_yday フィールドは無視されます。 さらに、 tmtm_wdaytm_ydaytm_isdst を他のフィールドから再計算し、それ以外のフィールドを正規化したものを返します(例えば、 10 月 40 日が 11 月 9 日の変換されるなど)。 tm 引数は地域時間として解釈します。
mod_big_int [Big_int]
多倍長整数同士のユークリッド除算における余り。 これは上の quomod_big_int の戻り値の二番目の要素 r です。
mod_float [Pervasives]
mod_float a bab で割った余りを返します。 n を商 a /. b を零方向に丸めた整数とすると、戻り値は a -. n *. b になります。
mod_num [Num]
ユークリッド除算の余り。
modf [Pervasives]
modff の小数部と整数部のペアを返します。
mouse_pos [Graphics]
Return the position of the mouse cursor, relative to the graphics window.
moveto [Graphics]
Position the current point.
mul [Nativeint]
乗算。
mul [Int64]
乗算。
mul [Int32]
乗算。
mul [Complex]
乗算。
mult_big_int [Big_int]
多倍長整数同士の乗算。
mult_int_big_int [Big_int]
通常の整数と多倍長整数の乗算。
mult_num [Num]
乗算。

N
name_of_input [Scanf.Scanning]
Scanning.file_name_of_input ic returns the name of the character source for the formatted input channel ic.
nan [Pervasives]
0.0 /. 0.0 のような未定義の演算の結果を表す浮動小数点値です。 非数(``not a number'')を意味します。 nan に対する浮動小数点演算はすべて nan を返します。 比較に関しては、引数の一方ないしは両方が nan のとき、 =<<=>>=false を返し、 <>true を返します。
narrow [CamlinternalOO]
nat_of_num [Num]
nativeint [Random.State]
nativeint [Random]
Random.nativeint bound は 0 以上 bound 未満のランダムな整数を返します。 bound は 0 より大きくなければなりません。
nativeint [Bigarray]
nativeint_of_big_int [Big_int]
多倍長整数をネイティブ整数に変換します。 引数が [Nativeint.min_int, Nativeint.max_int] の区間にない場合には Failure 例外が発生します。
neg [Nativeint]
単項の符号反転。
neg [Int64]
単項の符号反転。
neg [Int32]
単項の符号反転。
neg [Complex]
単項の符号反転。
neg_infinity [Pervasives]
負の無限大
new_block [Obj]
new_channel [Event]
Return a new channel.
new_line [Lexing]
Update the lex_curr_p field of the lexbuf to reflect the start of a new line.
new_method [CamlinternalOO]
new_methods_variables [CamlinternalOO]
new_variable [CamlinternalOO]
next [Stream]
ストリームの最初の要素を返し、その要素をストリームから取り除きます。 ストリームが空の場合には Stream.Failure 例外が発生します。
nextkey [Dbm]
与えられたデータベース内のすべてのキーを何らかの順序で列挙します。 firstkey db が最初のキーを返し、 nextkey db を繰り返し呼び出すことで残りのキーが返ります。 キーがすべて列挙されていた場合には Not_found 例外が発生します。
nice [UnixLabels]
Change the process priority.
nice [Unix]
プロセスの優先度を変更します。 引数の整数値が nice 値に加えられます(nice 値が高いほど優先度が低いことを意味します)。 変更後の nice 値を返します。
no_scan_tag [Obj]
norm [Complex]
ノルム。 x + i.y を与えると sqrt(x^2 + y^2) が返ります。
norm2 [Complex]
ノルムの平方。 x + i.y を与えると x^2 + y^2 になります。
not [Pervasives]
論理否定です。
npeek [Stream]
npeek n はストリームの最初の n 個の要素のリストを返します。 残りの要素が n 個より少ない場合は、その要素すべてをリストにして返します。
nth [StdLabels.List]
nth [ListLabels]
Return the n-th element of the given list.
nth [List]
与えられたリストの n 番目の要素を返します。最初の要素(リストの先頭)を 0 番目とします。 リストが空の場合には Failure "nth" 例外が発生します。
nth [Buffer]
バッファの n 番目の文字を返します。 添字が範囲外の場合には Invalid_argument 例外が発生します。
nth_dim [Bigarray.Genarray]
Genarray.nth_dim a n returns the n-th dimension of the big array a.
num_digits_big_int [Big_int]
与えられた多倍長整数を格納するのに使っている計算機の語数を返します。
num_dims [Bigarray.Genarray]
Return the number of dimensions of the given big array.
num_of_big_int [Num]
num_of_int [Num]
num_of_nat [Num]
num_of_ratio [Num]
num_of_string [Num]
文字列を数に変換します。

O
obj [Obj]
object_tag [Obj]
ocaml_version [Sys]
Objective Caml のパージョンです。 "major.minor[.patchlevel][+additional-info]" の形式の文字列で、 majorminorpatchlevel は整数、 additional-info は任意の文字列です。 [.patchlevel][+additional-info] の部分は存在しないことがあります。
of_array [Bigarray.Array3]
Build a three-dimensional big array initialized from the given array of arrays of arrays.
of_array [Bigarray.Array2]
Build a two-dimensional big array initialized from the given array of arrays.
of_array [Bigarray.Array1]
Build a one-dimensional big array initialized from the given array.
of_channel [Stream]
入力チャネルから読み込んだ文字から構成されるストリームを返します。
of_float [Nativeint]
与えられた浮動小数点数をネイティブ整数に変換します。 仮数部は切り捨てられます(0 に向かって切り捨てます)。 変換後の数が [Nativeint.min_int, Nativeint.max_int] の範囲外だった場合の結果は未定義です。
of_float [Int64]
与えられた浮動小数点数を 64 ビット整数に変換します。 仮数部は切り捨てられます(0 に向かって切り捨てます)。 変換後の数が [Int64.min_int, Int64.max_int] の範囲外だった場合の結果は未定義です。
of_float [Int32]
与えられた浮動小数点数を 32 ビット整数に変換します。 仮数部は切り捨てられます(0 に向かって切り捨てます)。 変換後の数が [Int32.min_int, Int32.max_int] の範囲外だった場合の結果は未定義です。
of_int [Nativeint]
与えられた(int 型の)整数をネイティブ整数に変換します。
of_int [Int64]
与えられた(int 型の)整数を 64 ビット整数に変換します。
of_int [Int32]
与えられた(int 型の)整数を 32 ビット整数に変換します。
of_int32 [Nativeint]
与えられた(int32 型の) 32 ビット整数をネイティブ整数に変換します。
of_int32 [Int64]
与えられた 32 ビット整数(int32 型)を 64 ビット整数(int64 型)に変換します。
of_list [Stream]
与えられたリストの要素を同じ順番で保持するストリームを返します。
of_list [StdLabels.Array]
of_list [ArrayLabels]
Array.of_list l returns a fresh array containing the elements of l.
of_list [Array]
Array.of_list ll のすべての要素を格納した新たな配列を返します。
of_nativeint [Int64]
与えられた計算機ネイティブの整数(nativeint 型)を 64 ビット整数(int64 型)に変換します。
of_string [Stream]
引数の文字列内の文字から構成されるストリームを返します。
of_string [Nativeint]
与えられた文字列をネイティブ整数に変換します。 文字列は十進(デフォルト)、または文字列が 0x0o0b で始まっていた場合には順に十六進、八進、二進で読み込まれます。 与えられた文字列が整数の表現として妥当でない場合や、 nativeint で表せる範囲を越えていた場合には Failure "int_of_string" 例外が発生します。
of_string [Int64]
与えられた文字列を 64 ビット整数に変換します。 文字列は十進(デフォルト)、または文字列が 0x0o0b で始まっていた場合には順に十六進、八進、二進で読み込まれます。 与えられた文字列が整数の表現として妥当でない場合や、 int64 で表せる範囲を越えていた場合には Failure "int_of_string" 例外が発生します。
of_string [Int32]
与えられた文字列を 32 ビット整数に変換します。 文字列は十進(デフォルト)、または文字列が 0x0o0b で始まっていた場合には順に十六進、八進、二進で読み込まれます。 与えられた文字列が整数の表現として妥当でない場合や、 int32 で表せる範囲を越えていた場合には Failure "int_of_string" 例外が発生します。
one [Nativeint]
ネイティブ整数の 1。
one [Int64]
64 ビット整数の 1。
one [Int32]
32 ビット整数の 1。
one [Complex]
複素数の 1
openTk [Tk]
Initialize LablTk and open a toplevel window.
open_box [Format]
open_box d opens a new pretty-printing box with offset d.
open_connection [UnixLabels]
Connect to a server at the given address.
open_connection [Unix]
指定されたアドレスのサーバーに接続し、サーバーに接続したバッファ付きのチャネルを返します。 正しく同期していることを保証するためには適切なタイミングで出力チャネルに flush を呼び出すようにしてください。
open_connection [ThreadUnix]
open_graph [Graphics]
Show the graphics window or switch the screen to graphic mode.
open_hbox [Format]
open_hbox () opens a new pretty-printing box.
open_hovbox [Format]
open_hovbox d opens a new pretty-printing box with offset d.
open_hvbox [Format]
open_hvbox d opens a new pretty-printing box with offset d.
open_in [Scanf.Scanning]
Bufferized file reading in text mode.
open_in [Pervasives]
名前のついたファイルを読み込み用に開き、そのファイルに対する入力チャネルの、読み込み位置をファイルの先頭に設定したものを返します。 ファイルが開けなかった場合には Sys_error 例外が発生します。
open_in_bin [Scanf.Scanning]
Bufferized file reading in binary mode.
open_in_bin [Pervasives]
open_in と同じですが、ファイルはバイナリモードで開かれます。 読み込み時に変換は行なわれません。 テキストモードとバイナリモードを区別しない OS では、この関数は open_in と同じように振る舞います。
open_in_gen [Pervasives]
open_in_gen mode perm filename は名前のついたファイルを開きます。 modeperm にはファイルのモードとパーミッションを指定します。 open_inopen_in_bin はこの関数を特殊化したものです。
open_out [Pervasives]
名前のついたファイルを書き込み用に開き、そのファイルに対する出力チャネルの、出力位置をファイルの先頭に設定したものを返します。 ファイルが既に存在した場合、長さは 0 に切り詰められます。 存在しなかった場合には新たに作成されます。 ファイルが開けなかった場合には Sys_error 例外が発生します。
open_out_bin [Pervasives]
open_out と同じですが、ファイルをバイナリモードで開きます。 書き込み時に変換は行なわれません。 テキストモードとバイナリモードを区別しない OS では、この関数は open_out と同じように振る舞います。
open_out_gen [Pervasives]
open_out_gen mode perm filename は名前のついたファイルを書き込み用に開きます。 mode にはモードを指定します。 perm にはファイルが作成されるときのパーミッションを指定します。 open_outopen_out_bin はこの関数を特殊化したものです。
open_process [UnixLabels]
Same as UnixLabels.open_process_out, but redirects both the standard input and standard output of the command to pipes connected to the two returned channels.
open_process [Unix]
Unix.open_process_out と同じですが、コマンドの標準入力と標準出力の両方を戻り値のチャネルに接続されたパイプにリダイレクトします。 入力チャネルはコマンドの出力に接続され、出力チャネルはコマンドの入力に接続されます。
open_process [ThreadUnix]
open_process_full [UnixLabels]
Similar to UnixLabels.open_process, but the second argument specifies the environment passed to the command.
open_process_full [Unix]
Unix.open_process とほぼ同じですが、第二引数でコマンドに渡す環境を指定します。 戻り値の三つ組は順に、コマンドの標準出力、標準入力、標準エラーに接続されたチャネルになります。
open_process_in [UnixLabels]
High-level pipe and process management.
open_process_in [Unix]
高レベルのパイプとプロセスの管理。 この関数は与えられたコマンドを現在のプログラムと並列に実行します。 実行するコマンドの標準出力はパイプにリダイレクトされ、それを戻り値の入力チャネルから読むことができます。 コマンドは Unix.system と同じく /bin/sh により解釈されます。
open_process_in [ThreadUnix]
open_process_out [UnixLabels]
Same as UnixLabels.open_process_in, but redirect the standard input of the command to a pipe.
open_process_out [Unix]
Unix.open_process_in と同じですがコマンドの標準入力をパイプにリダイレクトします。 戻り値の出力チャネルに書き込まれたデータは実行したコマンドの標準入力に送られます。 警告: 出力チャネルへの書き込みはバッファリングされます。正しく同期していることを保証するためには適切なタイミングで flush を呼び出すようにしてください。
open_process_out [ThreadUnix]
open_subwindow [GraphicsX11]
Create a sub-window of the current Caml graphics window and return its identifier.
open_tag [Format]
open_tag t opens the tag named t; the print_open_tag function of the formatter is called with t as argument; the tag marker mark_open_tag t will be flushed into the output device of the formatter.
open_tbox [Format]
Opens a tabulation box.
open_temp_file [Filename]
Filename.temp_file と同じですが、作成されたファイルの名前に加えて、そのファイルに対して(不可分に)開かれた出力チャネルを返します。 この関数は temp_file よりもより安全で、プログラムが一時ファイルを開くより前に他のプロセスによりファイルが変更される(例えば、シンボリックリンクで置き換えられる)危険がありません。 省略可能引数 mode にはファイルを開く際の追加のフラグのリストを指定できます。 Open_appendOpen_binaryOpen_text の組み合わせを指定することができます。 デフォルトは [Open_text] です。
open_vbox [Format]
open_vbox d opens a new pretty-printing box with offset d.
opendbm [Dbm]
NDBM データベースの記述子を開きます。 第一引数はデータベースの名前(から拡張子 .dir.pag を除いたもの)です。 第二引数はフラグのリストです。 Dbm_rdonly はデータベースを読み込み専用で開き、 Dbm_wronly は書き込み専用、 Dbm_rdwr は読み書き両用で開きます。 Dbm_create はデータベースが存在しなかった場合に新たに作成するようにします。 第三引数はデータベースを作成する場合にデータベースファイルに与えるパーミッションです。
opendir [UnixLabels]
Open a descriptor on a directory
opendir [Unix]
ディレクトリ記述子を開きます。
openfile [UnixLabels]
Open the named file with the given flags.
openfile [Unix]
与えられたフラグに従って指定の名前のファイルを開きます。 第三引数はファイルを作成する場合のパーミッションです。 ファイルに対する記述子を返します。
or_big_int [Big_int]
ビットごとの論理和。 引数は 0 以上でなければなりません。
os_type [Sys]
現在プログラムを実行している OS。以下のいずれかになります。 "Unix" (Linux と Mac OS X を含むすべての Unix), "Win32" (MS-Windows 上の MSVC++ か Mingw でコンパイルされた OCaml), "Cygwin" (MS-Windows 上の Cygwin でコンパイルされた OCaml
out_channel_length [Pervasives.LargeFile]
out_channel_length [Pervasives]
与えられたチャネルが開いている、通常のファイルのサイズ(文字数)を返します。 チャネルの開いているファイルが通常のファイルでない場合は意味のない値が返ります。
out_channel_of_descr [UnixLabels]
Create an output channel writing on the given descriptor.
out_channel_of_descr [Unix]
与えられたファイル記述子に書き込む出力チャネルを作成します。 初期状態ではチャネルはバイナリモードです。 テキストモードにするには set_binary_mode_out ic false としてください。
out_of_heap_tag [Obj]
output [Pervasives]
output oc buf pos len は文字列 bufpos 番目から len 文字を与えられた出力ポート oc に書き込みます。 poslenbuf の妥当な部分文字列を表さない場合には Invalid_argument "output" 例外が発生します。
output [Digest]
与えられた出力チャネルにダイジェストを書き込みます。
output_binary_int [Pervasives]
与えられた入力チャネルに整数をバイナリ形式(4 バイト、ビッグエンディアン)で書き込みます。 整数は 232 を法とした剰余を取ってから出力します。 書き込んだものを確実に読み戻す方法は input_binary_int 関数だけです。 出力形式は同一のバージョンの Objective Caml であればすべての計算機で互換性があります。
output_buffer [Buffer]
output_buffer oc b はバッファ b の現在の内容を出力チャネル oc に書き込みます。
output_byte [Pervasives]
8 ビット整数値を(そのコードに対応する文字として)与えられた出力チャネルに書き込みます。 与えられた整数は 256 を法とした剰余を取ってから出力します。
output_char [Pervasives]
与えられた出力チャネルに文字を出力します。
output_string [Pervasives]
与えられた出力チャネルに文字列を出力します。
output_value [Pervasives]
任意の型の構造化された値の外部表現をチャネルに書き出します。 構造の循環と共有関係は保存されます。出力したオブジェクトは input_value 関数で読み戻すことができます。 より詳しくは Marshal モジュールの説明を読んでください。 output_valueMarshal.to_channel に空のフラグリストを与えたものと等価です。
over_max_boxes [Format]
Tests if the maximum number of boxes allowed have already been opened.

P
pack [Tk]
Pack a widget inside its parent, using the standard layout engine.
params [CamlinternalOO]
parent_dir_name [Filename]
現在のディレトクトリの親ディレクトリを表す名前(例えば Unix では ..)。
parse [Arg]
Arg.parse speclist anon_fun usage_msg はコマンドラインを解析します。 speclist(key, spec, doc) の三つ組のリストです。 key はオプションのキーワードで '-' から始まらなければなりません。 spec はオプションの種類と、コマンドラインでそのオプションに遭遇したときに呼び出される関数を指定します。 doc はこのオプションを一行で説明する文字列です。 anon_fun は無名引数に対して呼び出されます。 specanon_fun で指定された関数は対応する引数がコマンドラインに現れた順に呼び出されます。
parse_argv [Arg]
Arg.parse_args ~current args speclist anon_fun usage_msg は配列 args をコマンドライン引数と見做して解析します。 ~current が与えられた場合はそれを、与えられなかった場合は Arg.current を更新しながら解析をします。 parse_args を呼び出す前に Arg.current を設定しておかなければなりません。 current の初期値は配列中でプログラム名(第 0 引数)を表す添字です。 エラーが起こった場合には、エラーメッセージを引数として Arg.Bad 例外が発生します。 -help オプションや --help オプションが渡された場合には、エラーメッセージを引数として Arg.Help 例外が発生します。
partition [StdLabels.List]
partition [Set.S]
partition p s は集合の対 (s1, s2) を返します。 ここで s1s の要素で述語 p を満たすものの集合であり、 s2p を満たさないものの集合です。
partition [MoreLabels.Set.S]
partition [MoreLabels.Map.S]
partition [Map.S]
partition p m は表のペア (m1, m2) を返します。 ここで、 m1p の束縛のうち述語 p を満たすものだけを含み、 m2p の束縛のうち述語 p を満たさないものだけを含む表です。
partition [ListLabels]
partition p l returns a pair of lists (l1, l2), where l1 is the list of all the elements of l that satisfy the predicate p, and l2 is the list of all the elements of l that do not satisfy p.
partition [List]
partition p l はリストのペア (l1, l2) を返します。 ここで、 l1l の要素のうち、述語 p を満す要素のリストで、 l2l の要素のうち p を満たさないもののリストです。 入力リスト内での要素の順番は保存されます。
pause [UnixLabels]
Wait until a non-ignored, non-blocked signal is delivered.
pause [Unix]
無視されず、ブロックもされないシグナルが送信されてくるまで待ちます。
peek [Stream]
ストリームの最初の要素を Some で包んだものを返します。 ストリームが空の場合には None を返します。
peek [Queue]
peek q はキュー q の先頭の要素を返します。要素自体はキューから取り除きません。 キューが空のときは Empty 例外が発生します。
pipe [UnixLabels]
Create a pipe.
pipe [Unix]
パイプを作成します。戻り値の最初の要素は読み込み用のファイル記述子、すなわちパイプの出口で、二番目の要素は書き込み用のファイル記述子、すなわちパイプの入口です。
pipe [ThreadUnix]
pixels [Tk]
Converts various on-screen units to pixels, respective to the default display.
place [Tk]
Pack a widget inside its parent, at absolute coordinates.
plot [Graphics]
Plot the given point with the current drawing color.
plots [Graphics]
Plot the given points with the current drawing color.
point_color [Graphics]
Return the color of the given point in the backing store (see "Double buffering" below).
polar [Complex]
polar norm arg はノルムが norm で偏角が arg の複素数を返します。
poll [Event]
Non-blocking version of Event.sync: offer all the communication possibilities specified in the event to the outside world, and if one can take place immediately, perform it and return Some r where r is the result value of that communication.
pop [Stack]
pop s はスタック s の先頭の要素を取り除き、その要素を返します。 スタックが空のときは Empty 例外が発生します。
pop [Queue]
take と同義です。
pos_in [Pervasives.LargeFile]
pos_in [Pervasives]
与えられたチャネルの現在の読み込み位置を返します。
pos_out [Pervasives.LargeFile]
pos_out [Pervasives]
与えられたチャネルの現在の書き込み位置を返します。 Open_append フラグを指定して開いたチャネルに対しては動作しません(結果は規定されていません)。
pow [Complex]
累乗関数。 pow z1 z2z1z2 乗を返します。
power_big_int_positive_big_int [Big_int]
累乗関数。 第一引数 a の第二引数 b 乗を表す多倍長整数を返します。 関数ごとに ab が通常の整数か多倍長整数かは異なります。 b が負の場合には Invalid_argument 例外が発生します。
power_big_int_positive_int [Big_int]
power_int_positive_big_int [Big_int]
power_int_positive_int [Big_int]
power_num [Num]
累乗。
pp_close_box [Format]
pp_close_tag [Format]
pp_close_tbox [Format]
pp_force_newline [Format]
pp_get_all_formatter_output_functions [Format]
pp_get_ellipsis_text [Format]
pp_get_formatter_output_functions [Format]
pp_get_formatter_tag_functions [Format]
These functions are the basic ones: usual functions operating on the standard formatter are defined via partial evaluation of these primitives.
pp_get_margin [Format]
pp_get_mark_tags [Format]
pp_get_max_boxes [Format]
pp_get_max_indent [Format]
pp_get_print_tags [Format]
pp_open_box [Format]
pp_open_hbox [Format]
pp_open_hovbox [Format]
pp_open_hvbox [Format]
pp_open_tag [Format]
pp_open_tbox [Format]
pp_open_vbox [Format]
pp_over_max_boxes [Format]
pp_print_as [Format]
pp_print_bool [Format]
pp_print_break [Format]
pp_print_char [Format]
pp_print_cut [Format]
pp_print_float [Format]
pp_print_flush [Format]
pp_print_if_newline [Format]
pp_print_int [Format]
pp_print_newline [Format]
pp_print_space [Format]
pp_print_string [Format]
pp_print_tab [Format]
pp_print_tbreak [Format]
pp_set_all_formatter_output_functions [Format]
pp_set_ellipsis_text [Format]
pp_set_formatter_out_channel [Format]
pp_set_formatter_output_functions [Format]
pp_set_formatter_tag_functions [Format]
pp_set_margin [Format]
pp_set_mark_tags [Format]
pp_set_max_boxes [Format]
pp_set_max_indent [Format]
pp_set_print_tags [Format]
pp_set_tab [Format]
pp_set_tags [Format]
pred [Pervasives]
pred xx - 1 になります。
pred [Nativeint]
前者関数。 Nativeint.pred xNativeint.sub x Nativeint.one になります。
pred [Int64]
前者関数。 Int64.pred xInt64.sub x Int64.one になります。
pred [Int32]
前者関数。 Int32.pred xInt32.sub x Int32.one になります。
pred_big_int [Big_int]
前者関数(引く 1)。
pred_num [Num]
pred nn - 1 になります。
prerr_char [Pervasives]
標準エラー出力へ文字を出力します。
prerr_endline [Pervasives]
標準エラー出力へ文字列と改行文字を出力し標準エラー出力をフラッシュします。
prerr_float [Pervasives]
標準エラー出力へ浮動小数点数を十進形式で出力します。
prerr_int [Pervasives]
標準エラー出力へ整数を十進形式で出力します。
prerr_newline [Pervasives]
標準エラー出力へ改行文字を出力し標準エラー出力をフラッシュします。
prerr_string [Pervasives]
標準エラー出力へ文字列を出力します。
print [Printexc]
Printexc.print fn xfnx に適用し、その戻り値を返します。 fn x の評価中に何らかの例外が発生した場合には、標準エラー出力に例外の名前を表示し、例外を再送出します。 典型的な使用法は、関数適用を素通りする例外を捕捉して報告することです。
print_as [Format]
print_as len str prints str in the current box.
print_backtrace [Printexc]
Printexc.print_backtrace oc はバックトレースを出力チャネル oc に表示します。 バックトレースは、直近の例外がどこで発生し、関数呼び出しによりどのように波及してきたのかを列挙します。
print_bool [Format]
Prints a boolean in the current box.
print_break [Format]
Inserts a break hint in a pretty-printing box.
print_char [Pervasives]
標準出力へ文字を出力します。
print_char [Format]
Prints a character in the current box.
print_cut [Format]
print_cut () is used to mark a good break position.
print_endline [Pervasives]
標準出力に文字列と改行文字を出力し、標準出力をフラッシュします。
print_float [Pervasives]
標準出力へ浮動小数点数を十進形式で出力します。
print_float [Format]
Prints a floating point number in the current box.
print_flush [Format]
Flushes the pretty printer: all opened boxes are closed, and all pending text is displayed.
print_if_newline [Format]
Executes the next formatting command if the preceding line has just been split.
print_int [Pervasives]
標準出力へ整数を十進形式で出力します。
print_int [Format]
Prints an integer in the current box.
print_newline [Pervasives]
標準出力に改行文字を出力し、標準出力をフラッシュします。 この関数を使うと標準出力の行バッファリングを模倣することができます。
print_newline [Format]
Equivalent to print_flush followed by a new line.
print_space [Format]
print_space () is used to separate items (typically to print a space between two words).
print_stat [Gc]
Print the current values of the memory management counters (in human-readable form) into the channel argument.
print_string [Pervasives]
標準出力へ文字列を出力します。
print_string [Format]
print_string str prints str in the current box.
print_tab [Format]
print_tab () is equivalent to print_tbreak 0 0.
print_tbreak [Format]
Break hint in a tabulation box.
printf [Printf]
Printf.fprintf と同じですが、 stdout に出力します
printf [Format]
Same as fprintf above, but output on std_formatter.
prohibit [Dynlink]
prohibit units は動的ロードされる翻訳単位が units 中に名前のある翻訳単位にアクセスすることを禁止します。 この関数は、指定された翻訳単位を実行中のプログラムの内部モジュールとし、外部からアクセスできないようにするために使えます。
public_method_label [CamlinternalOO]
push [Stack]
push x s はスタック s の先頭に要素 x を追加します。
push [Queue]
add と同義です。
putenv [UnixLabels]
Unix.putenv name value sets the value associated to a variable in the process environment.
putenv [Unix]
Unix.putenv name value は変数に対応づけられた値をプロセスの環境に設定します。 name は環境変数の名前で、 value はそれに新たに対応づけられる値です。

Q
quick_stat [Gc]
Same as stat except that live_words, live_blocks, free_words, free_blocks, largest_free, and fragments are set to 0.
quo_num [Num]
ユークリッド除算の商。
quomod_big_int [Big_int]
多倍長整数同士のユークリッド除算。 戻り値の最初の要素は商で、二番目の要素は余りです。 (q, r) = quomod_big_int a b とすると、 a = q * b + r かつ 0 <= r < |b| となります。除数が 0 の場合には Division_by_zero 例外が発生します。
quote [Str]
Str.quote s は文字列 s そのものにマッチし、それ以外にマッチしない正規表現文字列を返します。
quote [Filename]
ファイル名中のメタ文字をエスケープし、ひとつのコマンドライン引数として扱われるようにしたものを返します。 警告: Windows では、この関数の戻り値は、ファイル名を受け取るプログラムが Windows の標準の規約に従っていることを仮定しています。

R
raise [Pervasives]
与えられた例外値を送出します。
raise_window [Tk]
ratio_of_num [Num]
rcontains_from [StringLabels]
String.rcontains_from s stop c tests if character c appears in the substring of s starting from the beginning of s to index stop.
rcontains_from [String]
String.rcontains_from s stop c は文字 c が文字列 s の位置 stop + 1 より前に現れるか検査します。
rcontains_from [StdLabels.String]
read [UnixLabels]
read fd buff ofs len reads len characters from descriptor fd, storing them in string buff, starting at position ofs in string buff.
read [Unix]
read fd buff ofs len はファイル記述子 fd から len 文字読み込み、文字列 bufofs 文字目以降に格納します。 実際に読み込まれた文字数を返します。
read [ThreadUnix]
read_float [Pervasives]
標準出力をフラッシュしてから標準入力から一行読み込み、それを浮動小数点数に変換して返します。 読み込んだ行が浮動小数点数の文字列表現として妥当なものでない場合の結果は規定されていません。
read_int [Pervasives]
標準出力をフラッシュしてから標準入力から一行読み込み、それを整数に変換して返します。 読み込んだ行が整数の文字列表現として妥当なものでない場合は Failure "int_of_string" 例外が発生します。
read_key [Graphics]
Wait for a key to be pressed, and return the corresponding character.
read_line [Pervasives]
標準出力をフラッシュしてから標準入力から改行文字が現れるまで文字を読み込みます。 読み込んだ文字列から終端の改行文字を除いたものを返します。
readdir [UnixLabels]
Return the next entry in a directory.
readdir [Unix]
ディレクトリの次のエントリを返します。
readdir [Sys]
与えられたディレクトリに存在するすべてのファイルの名前を返します。 カレントディレクトリと親ディレクトリを表す名前(Unix では ".""..")は含まれません。 戻り値中の文字列は、完全なパス名ではなく、ファイルの名前です。 戻り値の配列中の文字列が常に特定の順序で現れる保証はありません。 特に、アルファベット順である保証もありません。
readlink [UnixLabels]
Read the contents of a link.
readlink [Unix]
リンクの内容を読み込みます。
really_input [Pervasives]
input ic buf pos len は与えられたチャネル ic から len 文字読み込み、文字列 bufpos 文字目以降に格納します。 len 文字読み込む前にファイル終端に達した場合には End_of_file 例外が発生します。 poslenbuf の有効な部分文字列を表さない場合には Invalid_argument "really_input" 例外が発生します。
receive [Event]
receive ch returns the event consisting in receiving a value from the channel ch.
record_backtrace [Printexc]
Printexc.record_backtrace bb = true の場合、例外のバックトレースの記録を有効にし、 b = false の場合、無効にします。 OCAMLRUNPARAM 環境変数を介して b フラグを与えなかった場合には、初期状態ではバックトレースは記録されません。
recv [UnixLabels]
Receive data from a connected socket.
recv [Unix]
接続状態のソケットからデータを受信します。
recv [ThreadUnix]
recvfrom [UnixLabels]
Receive data from an unconnected socket.
recvfrom [Unix]
非接続状態のソケットからデータを受信します。
recvfrom [ThreadUnix]
red [Graphics]
ref [Pervasives]
与えられた値を格納にた新しいリファレンスを返します。
regexp [Str]
正規表現をコンパイルします。次の構文が使えます。 . 改行を除くすべての文字にマッチします。, * (後置)先行する正規表現の 0 回以上の繰り返しにマッチします。, + (後置)先行する正規表現の 1 回以上の繰り返しにマッチします。, ? (後置)先行する正規表現の 0 回か 1 回の出現にマッチします。, [..] 文字集合。 [a-z] のよう - で範囲を表します。 [^0-9] のように先頭に ^ を書くと補集合を取ります。 ] を含めたい場合には ] を最初に書きます。 - を含めたい場合には最初か最後に書きます。, ^ 行頭にマッチします(マッチさせる文字の先頭か、改行文字の直後にマッチします)。, $ 行末にマッチします(マッチさせる文字の末尾か、改行文字の直前にマッチします)。, \| (中置)ふたつの正規表現の選択です。, \(..\) 囲まれた正規表現をグループ化し、名前をつけます。, \1 \(...\) でマッチした最初のテキスト(\2 は 2 番目の式で、同様に \9 まであります)。, \b 語の境界にマッチします。, \ 特殊文字をクォートします。 $^.*+?[] が特殊文字です。
regexp_case_fold [Str]
regexp と同じですが、コンパイルされた正規表現は大文字小文字の違いを無視してマッチします。 すなわち、大文字と小文字を等価なものとして扱います。
regexp_string [Str]
Str.regexp_string s は文字列 s そのものにマッチし、それ以外にマッチしない正規表現を返します。
regexp_string_case_fold [Str]
Str.regexp_string_case_foldStr.regexp_string とほぼ同じですが、大文字小文字の違いを無視する正規表現を返します。
register [Callback]
Callback.register n v は値 v を名前 n で登録します。 C のコードからは caml_named_value(n) として v へのハンドルを取り出すことができます。
register_exception [Callback]
Callback.register_exception n exn は例外値 exn に格納されている例外を名前 n で登録します。 C のコードからは caml_named_value(n) としてその例外へのハンドルを取り出すことができます。 これによって取り出された例外値は raise_constantraise_with_arg の第一引数に渡すのに適切な値になります。
register_printer [Printexc]
Printexc.register_printer fnfn を例外表示関数として登録します。 表示関数は与えられた例外を文字列に変換できない場合には None を返し、変換できる場合には変換結果の文字列 sSome s として返します。表示関数内で起こった例外は無視されます。
rem [Nativeint]
整数の余り。 y が 0 でないとき、 Nativeint.rem x y は次の性質を満たします。 すなわち、 x = Nativeint.add (Nativeint.mul (Nativeint.div x y) y) (Nativeint.rem x y) になります。 y = 0 の場合は Division_by_zero 例外が発生します。
rem [Int64]
整数の余り。 y が 0 でないとき、 Int64.rem x y は次の性質を満たします。 すなわち、 x = Int64.add (Int64.mul (Int64.div x y) y) (Int64.rem x y) になります。 y = 0 の場合は Division_by_zero 例外が発生します。
rem [Int32]
整数の余り。 y が 0 でないとき、 Int32.rem x y は次の性質を満たします。 すなわち、 x = Int32.add (Int32.mul (Int32.div x y) y) (Int32.rem x y) になります。 y = 0 の場合は Division_by_zero 例外が発生します。
remember_mode [Graphics]
Set remember mode on or off.
remove [Weak.S]
remove t x removes from t one instance of x.
remove [Sys]
与えられた名前のファイルを削除します。
remove [Set.S]
remove x ss の要素すべてから x を除いたものを要素とする集合を返します。 sx が含まれない場合には s がそのまま返ります。
remove [MoreLabels.Set.S]
remove [MoreLabels.Map.S]
remove [MoreLabels.Hashtbl.S]
remove [MoreLabels.Hashtbl]
remove [Map.S]
remove x mm の全束縛から x に関する束縛を除いたものを格納した表を返します。
remove [Hashtbl.S]
remove [Hashtbl]
Hashtbl.remove tbl xtbl から x の現在の束縛を取り除き、以前の束縛が存在すればそれを復元します。 xtbl 中で束縛されていなかった場合には何もしません。
remove [Dbm]
remove db key datadb 内で key に対応するデータを取り除きます。 key に対応するデータが存在しない場合には Dbm_error "dbm_delete" 例外が発生します。
remove_assoc [StdLabels.List]
remove_assoc [ListLabels]
remove_assoc a l returns the list of pairs l without the first pair with key a, if any.
remove_assoc [List]
remove_assoc a l はペアのリスト l から、もし存在すれば、キーとして a を持つ最初のペアを除いたものを返します。 末尾再帰ではありません。
remove_assq [StdLabels.List]
remove_assq [ListLabels]
Same as ListLabels.remove_assoc, but uses physical equality instead of structural equality to compare keys.
remove_assq [List]
List.remove_assoc と同じですが、キーの比較に構造等価性ではなく物理的等価性を使います。 末尾再帰ではありません。
rename [UnixLabels]
rename old new changes the name of a file from old to new.
rename [Unix]
rename old newold のファイル名を new に変更します。
rename [Sys]
ファイルの名前を変更します。 第一引数はもとの名前で、第二引数は新しい名前です。 変更後の名前のファイルが既に存在した場合、 OS 依存で、例外が発生するか、そのファイルを置き換えるかします。
replace [MoreLabels.Hashtbl.S]
replace [MoreLabels.Hashtbl]
replace [Hashtbl.S]
replace [Hashtbl]
Hashtbl.replace tbl x ytbl 中の現在の x の束縛を置き換えます。 xtbl 中で束縛されていなかった場合には x から y への束縛を tbl に追加します。 この関数は機能としては Hashtbl.remove tbl x して Hashtbl.add tbl x y するのと同じです。
replace [Dbm]
replace db key data は (key, data) の対をデータベース db に挿入します。 データベースに key に対応する値が既に存在した場合には、そのデータを破棄して新しい data で置き換えます。
replace_first [Str]
Str.global_replace と同じですが、正規表現にマッチした最初の部分文字列だけが置き換えられます。
replace_matched [Str]
replace_matched repl s は置換文字列 repl 中の \1\2 等を、直近のマッチ操作で対応するグループにマッチしたテキストで置き換えたものを返します。 s はマッチ操作でマッチした文字列と同じものでなければなりません。
repr [Obj]
reset [Buffer]
バッファを空にし、内部でバッファの内容を保持している文字列を開放し、内部文字列を Buffer.create n で確保された長さ n の初期文字列と取り替えます。 長く使われ大きく伸張したバッファについては、 reset を使うことでバッファの使用している空間を速やかに再利用させることができるようになります。
reshape [Bigarray]
reshape b [|d1;...;dN|] converts the big array b to a N-dimensional array of dimensions d1...
reshape_1 [Bigarray]
Specialized version of Bigarray.reshape for reshaping to one-dimensional arrays.
reshape_2 [Bigarray]
Specialized version of Bigarray.reshape for reshaping to two-dimensional arrays.
reshape_3 [Bigarray]
Specialized version of Bigarray.reshape for reshaping to three-dimensional arrays.
resize_window [Graphics]
Resize and erase the graphics window.
rev [StdLabels.List]
rev [ListLabels]
List reversal.
rev [List]
リストの反転。
rev_append [StdLabels.List]
rev_append [ListLabels]
List.rev_append l1 l2 reverses l1 and concatenates it to l2.
rev_append [List]
List.rev_append l1 l2l1 を反転して l2 に連結します。 これは List.rev l1 @ l2 と等価ですが、 rev_append は末尾再帰で、より効率的です。
rev_map [StdLabels.List]
rev_map [ListLabels]
List.rev_map f l gives the same result as ListLabels.rev (ListLabels.map f l), but is tail-recursive and more efficient.
rev_map [List]
List.rev_map f lList.rev (List.map f l) と同じ結果を返しますが、末尾再帰で、より効率的です。
rev_map2 [StdLabels.List]
rev_map2 [ListLabels]
List.rev_map2 f l1 l2 gives the same result as ListLabels.rev (ListLabels.map2 f l1 l2), but is tail-recursive and more efficient.
rev_map2 [List]
List.rev_map2 f l1 l2List.rev (List.map2 f l1 l2) と同じ結果を返しますが、末尾再帰で、より効率的です。
rewinddir [UnixLabels]
Reposition the descriptor to the beginning of the directory
rewinddir [Unix]
ディレクトリ記述子の位置をディレクトリの先頭に再設定します。
rgb [Graphics]
rgb r g b returns the integer encoding the color with red component r, green component g, and blue component b.
rhs_end [Parsing]
rhs_end_pos [Parsing]
Same as rhs_end, but return a position instead of an offset.
rhs_start [Parsing]
Same as Parsing.symbol_start and Parsing.symbol_end, but return the offset of the string matching the nth item on the right-hand side of the rule, where n is the integer parameter to rhs_start and rhs_end.
rhs_start_pos [Parsing]
Same as rhs_start, but return a position instead of an offset.
rindex [StringLabels]
String.rindex s c returns the position of the rightmost occurrence of character c in string s.
rindex [String]
String.rindex s c は文字列 s 中で文字 c が現れる最後の添字を返します。
rindex [StdLabels.String]
rindex_from [StringLabels]
Same as StringLabels.rindex, but start searching at the character position given as second argument.
rindex_from [String]
String.rindex_from s i c は文字列 s の位置 i + 1 より前で最後に文字 c の現れる位置の添字を返します。 String.rindex s cString.rindex_from s (String.length s - 1) c と等価です。
rindex_from [StdLabels.String]
rlineto [Graphics]
Draw a line with endpoints the current point and the current point translated of the given vector, and move the current point to this point.
rmdir [UnixLabels]
Remove an empty directory.
rmdir [Unix]
空のディレクトリを削除します。
rmoveto [Graphics]
rmoveto dx dy translates the current point by the given vector.
round_num [Num]
integer_numn に最も近い整数を返します。ふたつの整数の中間にある場合には 0 に向って丸めます。
run_initializers [CamlinternalOO]
run_initializers_opt [CamlinternalOO]

S
scanf [Scanf]
Same as Scanf.bscanf, but reads from the predefined formatted input channel Scanf.Scanning.stdin that is connected to Pervasives.stdin.
search_backward [Str]
search_backward r s last は文字列 s の部分文字列で正規表現 r にマッチするものを探索します。 探索は last 番目の文字から始まり、文字列の先頭に向かって進みます。 最初に一致した部分文字列の開始位置を返します。 一致する文字列がない場合には Not_found 例外が発生します。
search_forward [Str]
search_forward r s start は文字列 s の部分文字列で正規表現 r にマッチするものを探索します。 探索は start 番目の文字から始まり、文字列の終端に向かって進みます。 最初に一致した部分文字列の開始位置を返します。 一致する文字列がない場合には Not_found 例外が発生します。
seek_in [Pervasives.LargeFile]
seek_in [Pervasives]
seek_in chan pos はチャネル chan の読み込み位置を pos に設定します。 この関数は通常のファイルに対してのみ動作します。 他の種類のファイルに適用した場合の振る舞いは規定されていません。
seek_out [Pervasives.LargeFile]
seek_out [Pervasives]
seek_out chan pos はチャネル chan の書き込み位置を pos に設定します。 これは通常のファイルに対してだけ働きます。 他の種類のファイル(例えば、端末やパイプ、ソケット)に対する振る舞いは規定されていません。
select [UnixLabels]
Wait until some input/output operations become possible on some channels.
select [Unix]
いずれかのチャネルで何らかの入出力操作が可能になるまで待ちます。 引数のみっつのリストは順に、読み込みチェックをする記述子の集合、書き込みチェックをする記述子の集合、例外的状況をチェックする記述子の集合です。 第四引数には最大停止時間を秒単位で指定します。 負の数を指定するとタイムアウトしなくなります(無限に待ちます)。 戻り値は記述子の集合の三つ組です。 それぞれの要素は順に、読み込み可能になったものの集合、書き込み可能になったものの集合、例外的状況が保留されているものの集合です。
select [ThreadUnix]
select [Thread]
Suspend the execution of the calling thead until input/output becomes possible on the given Unix file descriptors.
select [Event]
``Synchronize'' on an alternative of events.
self [Thread]
Return the thread currently executing.
self_init [Random]
システム依存のある程度ランダムな方法で選んだ種で乱数生成器を初期化します。
send [UnixLabels]
Send data over a connected socket.
send [Unix]
接続状態のソケットを介してデータを送信します。
send [ThreadUnix]
send [Event]
send ch v returns the event consisting in sending the value v over the channel ch.
send [CamlinternalOO]
sendcache [CamlinternalOO]
sendself [CamlinternalOO]
sendto [UnixLabels]
Send data over an unconnected socket.
sendto [Unix]
非接続状態のソケットを介してデータを送信します。
sendto [ThreadUnix]
set [Weak]
Weak.set ar n (Some el) sets the nth cell of ar to be a (full) pointer to el; Weak.set ar n None sets the nth cell of ar to empty.
set [StringLabels]
String.set s n c modifies string s in place, replacing the character number n by c.
set [String]
String.set s n c は文字列 sn 文字目を c で置き換えて破壊的に更新します。 String.set s n c の代わりに s.[n] <- c と書くこともできます。
set [StdLabels.String]
set [StdLabels.Array]
set [Gc]
set r changes the GC parameters according to the control record r.
set [Bigarray.Array3]
Array3.set a x y v, or alternatively a.{x,y,z} <- v, stores the value v at coordinates (x, y, z) in a.
set [Bigarray.Array2]
Array2.set a x y v, or alternatively a.{x,y} <- v, stores the value v at coordinates (x, y) in a.
set [Bigarray.Array1]
Array1.set a x v, also written a.{x} <- v, stores the value v at index x in a.
set [Bigarray.Genarray]
Assign an element of a generic big array.
set [ArrayLabels]
Array.set a n x modifies array a in place, replacing element number n with x.
set [Array]
Array.set a n xa を破壊的に変更し、 n 番目の要素を x で置き換えます。 Array.set a n x の代わりに a.(n) <- x と書くこともできます。
set_all_formatter_output_functions [Format]
set_all_formatter_output_functions out flush outnewline outspace redirects the pretty-printer output to the functions out and flush as described in set_formatter_output_functions.
set_approx_printing [Arith_status]
approx_printing フラグを取得または設定します。 このフラグが true の場合には、有理数を十進の近似値で表示します。 false の場合には有理数を分数として表示します。 初期値: false
set_binary_mode_in [Pervasives]
set_binary_mode_out oc true とするとチャネル oc をバイナリモードに設定します。 これにより読み込み時の変換が行なわれなくなります。 set_binary_mode_out oc false とすると、チャネル oc をテキストモードに設定します。 これにより OS 依存で読み込み中に変換が行なわれるようになります。 例えば Windows 上では行末が \r\n から \n に変換されます。 この関数はテキストモードとバイナリモードを区別しない OS では何の効果もありません。
set_binary_mode_out [Pervasives]
set_binary_mode_out oc true はチャネル oc をバイナリモードに設定します。 これにより書き込み時の変換が行なわれなくなります。 set_binary_mode_out oc false とすると、チャネル oc をテキストモードに設定します。 これにより OS 依存で出力中に変換が行なわれるようになります。 例えば Windows 上では行末が \n から \r\n に変換されます。 この関数はテキストモードとバイナリモードを区別しない OS では何の効果もありません。
set_close_on_exec [UnixLabels]
Set the ``close-on-exec'' flag on the given descriptor.
set_close_on_exec [Unix]
与えられたファイル記述子の close-on-exec フラグを立てます。 close-on-exec フラグの立ったファイル記述子は、現在のプロセスが exec* 系の関数を使って別のプログラムを起動すると自動的に閉じられます。
set_color [Graphics]
Set the current drawing color.
set_double_field [Obj]
set_ellipsis_text [Format]
Set the text of the ellipsis printed when too many boxes are opened (a single dot, ., by default).
set_error_when_null_denominator [Arith_status]
null_denominator フラグを取得または設定します。 このフラグが true の場合には、分母が 0 の有理数を作ろうとすると例外が発生します。 false の場合には分母として 0 を受け付けます。初期値: true
set_field [Obj]
set_floating_precision [Arith_status]
floating_precision パラメータを取得または設定します。 このパラメータは approx_printingtrue の時に表示される小数点以下の桁数です。 初期値: 12
set_font [Graphics]
Set the font used for drawing text.
set_formatter_out_channel [Format]
Redirect the pretty-printer output to the given channel.
set_formatter_output_functions [Format]
set_formatter_output_functions out flush redirects the relevant pretty-printer output functions to the functions out and flush.
set_formatter_tag_functions [Format]
set_line_width [Graphics]
Set the width of points and lines drawn with the functions above.
set_margin [Format]
set_margin d sets the value of the right margin to d (in characters): this value is used to detect line overflows that leads to split lines.
set_mark_tags [Format]
set_print_tags b turns on or off the printing of tags, while set_mark_tags b turns on or off the output of tag markers.
set_max_boxes [Format]
set_max_boxes max sets the maximum number of boxes simultaneously opened.
set_max_indent [Format]
set_max_indent d sets the value of the maximum indentation limit to d (in characters): once this limit is reached, boxes are rejected to the left, if they do not fit on the current line.
set_method [CamlinternalOO]
set_methods [CamlinternalOO]
set_nonblock [UnixLabels]
Set the ``non-blocking'' flag on the given descriptor.
set_nonblock [Unix]
与えられたファイル記述子の non-blocking フラグを立てます。 non-blocking フラグが設定されていると、読み込み時にそのファイル記述子に読み込み可能なデータがない場合に、読み込みがブロックする代わりに EAGAIN または EWOULDBLOCK エラーが発生します。 書き込み時に書き込める領域がない場合にも EAGAIN または EWOULDBLOCK エラーが発生します。
set_normalize_ratio [Arith_status]
normalize_ratio フラグを取得または設定します。 このフラグが true の場合には、各演算の度に有理数を約分します。 false の場合には表示するときまで約分しません。 初期値: false
set_normalize_ratio_when_printing [Arith_status]
normalize_ratio_when_printing フラグを取得または設定します。 このフラグが true の場合には、表示する前に有理数を約分します。 false の場合には約分せずにそのまま表示します。 初期値: true
set_print_tags [Format]
set_signal [Sys]
Sys.signal と同じですが戻り値が無視されます。
set_state [Random]
基本関数によって使われる乱数成績の状態を設定します。
set_tab [Format]
Sets a tabulation mark at the current insertion point.
set_tag [Obj]
set_tags [Format]
set_tags b turns on or off the treatment of tags (default is off).
set_text_size [Graphics]
Set the character size used for drawing text.
set_trace [Parsing]
Control debugging support for ocamlyacc-generated parsers.
set_window_title [Graphics]
Set the title of the graphics window.
setgid [UnixLabels]
Set the real group id and effective group id for the process.
setgid [Unix]
プロセスのグループ ID と実効グループ ID を設定します。
setgroups [Unix]
setgroups groups は呼び出し元のプロセス補助グループ ID を設定します。 適切な特権が必要です。
setitimer [UnixLabels]
setitimer t s sets the interval timer t and returns its previous status.
setitimer [Unix]
setitimer t s はインターバルタイマーの状態を設定し、変更前の状態を返します。 引数 s は次のように解釈されます。 s.it_value は 0 でなければ次のタイマーの時間になります。 s.it_interval は 0 でなければ、現在のタイマーが完了したあとに it_value を再設定するときに使われます。 s.it_value を 0 にするとタイマーを無効にします。 s.it_interval を 0 にすると現在のタイマーが完了した後にタイマーが無効になります。
setsid [UnixLabels]
Put the calling process in a new session and detach it from its controlling terminal.
setsid [Unix]
呼び出したプロセスを新しいセッションに割り当て、制御端末から切り離します。
setsockopt [UnixLabels]
Set or clear a boolean-valued option in the given socket.
setsockopt [Unix]
与えられたソケットの真偽値オブションの値を設定します。
setsockopt_float [UnixLabels]
Same as Unix.setsockopt for a socket option whose value is a floating-point number.
setsockopt_float [Unix]
Unix.getsockopt と同じですが、浮動小数点数値オプション用です。
setsockopt_int [UnixLabels]
Same as Unix.setsockopt for an integer-valued socket option.
setsockopt_int [Unix]
Unix.setsockopt と同じですが、整数値オプション用です。
setsockopt_optint [UnixLabels]
Same as Unix.setsockopt for a socket option whose value is an int option.
setsockopt_optint [Unix]
Unix.setsockopt と同じですが、 int option 型のオプション用です。
setuid [UnixLabels]
Set the real user id and effective user id for the process.
setuid [Unix]
プロセスのユーザー ID と実効ユーザー ID を設定します。
shift_left [Nativeint]
Nativeint.shift_left x yx を左に y ビットシフトします。 y < 0y >= bitsize のときの結果は規定されていません。 ここで bitsize は 32 ビットプラットフォームでは 32、 64 ビットプラットフォームでは 64 です。
shift_left [Int64]
Int64.shift_left x yx を左に y ビットシフトします。 y < 0y >= 64 のときの結果は規定されていません。
shift_left [Int32]
Int32.shift_left x yx を左に y ビットシフトします。 y < 0y >= 32 のときの結果は規定されていません。
shift_left_big_int [Big_int]
shift_left_big_int b nb を左に n ピットシフトしたものを返します。 これは 2^n を掛けることと等価です。
shift_right [Nativeint]
Nativeint.shift_right x yx を右に y ビットシフトします。 これは算術シフトです。 すなわち、 x の符号ビットを複製して空いたビットを埋めます。 y < 0y >= bitsize のときの結果は規定されていません。
shift_right [Int64]
Int64.shift_right x yx を右に y ビットシフトします。 これは算術シフトです。 すなわち、 x の符号ビットを複製して空いたビットを埋めます。 y < 0y >= 64 のときの結果は規定されていません。
shift_right [Int32]
Int32.shift_right x yx を右に y ビットシフトします。 これは算術シフトです。 すなわち、 x の符号ビットを複製して空いたビットを埋めます。 y < 0y >= 32 のときの結果は規定されていません。
shift_right_big_int [Big_int]
shift_right_big_int b nb を右に n ビットシフトしたものを返します。 これは 2^n で割り、結果を負の無限大に向かって丸めることと等価です。
shift_right_logical [Nativeint]
Nativeint.shift_right_logical x yx を右に y ビットシフトします。 これは論理シフトです。 すなわち、 x の符号によらず空いたビットを 0 で埋めます。 y < 0y >= bitsize のときの結果は規定されていません。
shift_right_logical [Int64]
Int64.shift_right_logical x yx を右に y ビットシフトします。 これは論理シフトです。 すなわち、 x の符号によらず空いたビットを 0 で埋めます。 y < 0y >= 64 のときの結果は規定されていません。
shift_right_logical [Int32]
Int32.shift_right_logical x yx を右に y ビットシフトします。 これは論理シフトです。 すなわち、 x の符号によらず空いたビットを 0 で埋めます。 y < 0y >= 32 のときの結果は規定されていません。
shift_right_towards_zero_big_int [Big_int]
shift_right_towards_zero_big_int b nb を右に n ビットシフトしたものを返します。 シフト処理は b の絶対値に対して行なわれ、戻り値は b と同じ符号になります。 これは、 2^n で割り、結果を 0 に向かって丸めることと等価です。
shutdown [UnixLabels]
Shutdown a socket connection.
shutdown [Unix]
ソケットの接続を切断します。 SHUTDOWN_SEND を第二引数に渡すと、接続のもう一方の終端での読み込み処理はファイル終端状態を返すようになります。 SHUTDOWN_RECEIVE を渡すと、接続のもう一方の終端での書き込み処理はパイプが閉じられている状態を返すようになります(SIGPIPE シグナル)。
shutdown_connection [UnixLabels]
``Shut down'' a connection established with UnixLabels.open_connection; that is, transmit an end-of-file condition to the server reading on the other side of the connection.
shutdown_connection [Unix]
Unix.open_connection で確立した接続を「切断」します。 すなわち、接続のもう一方の端点で読み込んでいるサーバーにファイル終端条件を送信します。
sigabrt [Sys]
異常終了
sigalrm [Sys]
タイムアウト
sigchld [Sys]
子プロセスの強制終了
sigcont [Sys]
続行
sigfpe [Sys]
算術例外
sighup [Sys]
制御端末のハングアップ
sigill [Sys]
不正なハードウェア命令
sigint [Sys]
対話的割り込み (Ctrl-C)
sigkill [Sys]
強制終了(無視することはできません)
sigmask [Thread]
sigmask cmd sigs changes the set of blocked signals for the calling thread.
sign_big_int [Big_int]
与えられた多倍長整数が 0 であれば 0 を返し、正であれば 1 を返し、負であれば -1 を返します。
sign_num [Num]
引数の符号に応じて -101 を返します。
signal [Sys]
指定のシグナルを受け取った場合の振る舞いを設定します。 第一引数はシグナル番号です。 戻り値は、以前そのシグナルに対応づけられていた振る舞いです。 シグナル番号が不正である(か、またはシステムで使用可能でない)場合には、 Invalid_argument 例外が発生します。
signal [Condition]
signal c restarts one of the processes waiting on the condition variable c.
sigpending [UnixLabels]
Return the set of blocked signals that are currently pending.
sigpending [Unix]
ブロックされるシグナルのうち、現在保留されているものの集合を返します。
sigpipe [Sys]
パイプの切断
sigprocmask [UnixLabels]
sigprocmask cmd sigs changes the set of blocked signals.
sigprocmask [Unix]
sigprocmask cmd sigs はブロックされるシグナルの集合を変更します。 cmdSIG_SETMASK の場合、ブロックされるシグナルは sigs に指定されたものになります。 cmdSIG_BLOCK の場合、 sigs 中のシグナルがブロックされるシグナルに追加されます。 cmdSIG_UNBLOCK の場合、 sigs 中のシグナルはブロックされるシグナルから取り除かれます。 sigprocmask は変更前の値を返します。
sigprof [Sys]
プロファイラによる割り込み
sigquit [Sys]
対話的終了
sigsegv [Sys]
不正なメモリアクセス
sigstop [Sys]
中断
sigsuspend [UnixLabels]
sigsuspend sigs atomically sets the blocked signals to sigs and waits for a non-ignored, non-blocked signal to be delivered.
sigsuspend [Unix]
sigsuspend sigs はブロックされるシグナルの集合を sigs の値に不可分に設定し、無視されず、ブロックもされないシグナルが送信されてくるまで待ちます。 この関数から返るときにブロックされるシグナルは以前の値に戻ります。
sigterm [Sys]
強制終了
sigtstp [Sys]
対話的中断
sigttin [Sys]
バックグラウンドプロセスによる端末読み込み
sigttou [Sys]
バックグラウンドプロセスによる端末書き込み
sigusr1 [Sys]
アプリケーション定義のシグナル 1
sigusr2 [Sys]
アプリケーション定義のシグナル 2
sigvtalrm [Sys]
仮想時間におけるタイムアウト
sin [Pervasives]
正弦。引数はラジアン角です。
single_write [UnixLabels]
Same as write, but attempts to write only once.
single_write [Unix]
write と同じですが、一度だけ書き込みます。 したがって、エラーが起こった場合には single_write ではデータがまったく書き込まれないことが保証されます。
singleton [Set.S]
singleton xx のみを要素とする集合を返します。
singleton [MoreLabels.Set.S]
singleton [MoreLabels.Map.S]
singleton [Map.S]
singleton x yx から y への束縛のみを含む 1 要素の表を返します。
sinh [Pervasives]
双曲線正弦関数。引数はラジアン角です。
size [Obj]
size [Nativeint]
ネイティブ整数のビット幅を返します。 32 ビットプラットフォームでは 32、 64 ビットプラットフォームでは 64 になります。
size_x [Graphics]
size_y [Graphics]
Return the size of the graphics window.
sleep [UnixLabels]
Stop execution for the given number of seconds.
sleep [Unix]
与えられた秒数だけ実行を中断します。
sleep [ThreadUnix]
slice_left [Bigarray.Array2]
Extract a row (one-dimensional slice) of the given two-dimensional big array.
slice_left [Bigarray.Genarray]
Extract a sub-array of lower dimension from the given big array by fixing one or several of the first (left-most) coordinates.
slice_left_1 [Bigarray.Array3]
Extract a one-dimensional slice of the given three-dimensional big array by fixing the first two coordinates.
slice_left_2 [Bigarray.Array3]
Extract a two-dimensional slice of the given three-dimensional big array by fixing the first coordinate.
slice_right [Bigarray.Array2]
Extract a column (one-dimensional slice) of the given two-dimensional big array.
slice_right [Bigarray.Genarray]
Extract a sub-array of lower dimension from the given big array by fixing one or several of the last (right-most) coordinates.
slice_right_1 [Bigarray.Array3]
Extract a one-dimensional slice of the given three-dimensional big array by fixing the last two coordinates.
slice_right_2 [Bigarray.Array3]
Extract a two-dimensional slice of the given three-dimensional big array by fixing the last coordinate.
snd [Pervasives]
ペアの二番目の要素を返します。
socket [UnixLabels]
Create a new socket in the given domain, and with the given kind.
socket [Unix]
指定されたドメイン、指定された種別のソケットを新たに作成します。 第三引数はプロトコルの種別で、 0 にするとそのソケットの種別のデフォルトを選択します。
socket [ThreadUnix]
socketpair [UnixLabels]
Create a pair of unnamed sockets, connected together.
socketpair [Unix]
互いに接続した無名のソケットの対を返します。
sort [StdLabels.List]
sort [StdLabels.Array]
sort [ListLabels]
Sort a list in increasing order according to a comparison function.
sort [List]
リストの要素を与えられた比較関数に関して昇順に整列させます。 比較関数は、引数が等しい場合には 0 を返し、第一引数の方が大きい場合には正の整数を、第一引数の方が小さい場合には負の整数を返さなければなりません(完全な仕様については Array.sort を参照してください)。 例えば、 compare は適切な比較関数です。 結果のリストの要素は昇順に整列しています。 List.sort は一定のヒープ空間(に結果のリストのサイズを加えたもの)に対数オーダーのスタック空間で実行できることが保証されています。
sort [ArrayLabels]
Sort an array in increasing order according to a comparison function.
sort [Array]
配列を比較関数に関して昇順に整列させます。 比較関数は引数が等しい場合には 0 を返し、第一引数がより大きい場合には正の整数を返し、第一引数がより小さい場合には負の整数を返さなければなりません(完全な仕様については下を見て下さい)。 例えば compare は、浮動小数点数の NaN がデータに現れない場合には適切な比較関数です。 Array.sort を呼び出すと、配列は昇順に破壊的に変更されます。 Array.sort は一定のヒープ空間を使い、(最悪の場合)対数オーダーのスタック空間を使います。
sound [Graphics]
sound freq dur plays a sound at frequency freq (in hertz) for a duration dur (in milliseconds).
split [Str]
split r sr にマッチする部分文字列を区切りとして s を分割し、リストにして返します。 例えば split (regexp "[ \t]+") ss を空白区切りの単語に分割します。 文字列の先頭と末尾に現れた区切り文字列は無視されます。
split [StdLabels.List]
split [Set.S]
split x s は三つ組 (l, present, r) を返します。 ls の要素で x よりも厳密に小さい要素から成る集合で、 rs の要素で x よりも厳密に大きい要素から成る集合です。 presentsx と等しい要素が含まれない場合には false、 含まれる場合には true になります。
split [MoreLabels.Set.S]
split [MoreLabels.Map.S]
split [Map.S]
split x m は 3 個組 (l, data, r) を返します。 ここで、 lm 中の束縛で、キーが x よりも厳密に小さいものだけを含む表で、 rm 中の束縛で、キーが x よりも厳密に大きいものだけを含む表です。 datamx に対する束縛がない場合は None で、 mvx に束縛していた場合には Some v になります。
split [ListLabels]
Transform a list of pairs into a pair of lists: split [(a1,b1); ...; (an,bn)] is ([a1; ...; an], [b1; ...; bn]).
split [List]
ペアのリストをリストのペアに変換します。 split [(a1,b1); ...; (an,bn)]([a1; ...; an], [b1; ...; bn]) になります。 末尾再帰ではありません。
split_delim [Str]
Str.split と同じですが、文字列の先頭と末尾に現れた区切り文字列を無視せず、結果に空文字列を含めます。 例えば、 split_delim (regexp " ") " abc "[""; "abc"; ""] を返すのに対し、同一の引数で split を呼び出すと ["abc"] が返ります。
sprintf [Printf]
Printf.fprintf と同じですが、出力チャネルに表示する代わりに、引数を整形した結果を文字列として返します。
sprintf [Format]
Same as printf above, but instead of printing on a formatter, returns a string containing the result of formatting the arguments.
sqrt [Pervasives]
平方根。
sqrt [Complex]
平方根。戻り値は x > 0 か、 x = 0 かつ y >= 0 なる x + i.y です。 この関数は実軸の負の部分において不連続性があります。
sqrt_big_int [Big_int]
sqrt_big_int aa の整数の平方根、すなわち、 r * r <= a なる最大の r を返します。 a が負の場合には Invalid_argument 例外が発生します。
square_big_int [Big_int]
与えられた多倍長整数の平方を返します。
square_num [Num]
平方。
sscanf [Scanf]
Same as Scanf.bscanf, but reads from the given string.
sscanf_format [Scanf]
Same as Scanf.bscanf_format, but reads from the given string.
stable_sort [StdLabels.List]
stable_sort [StdLabels.Array]
stable_sort [ListLabels]
Same as ListLabels.sort, but the sorting algorithm is guaranteed to be stable (i.e.
stable_sort [List]
List.sort と同じですが、整列アルゴリズムが安定であることが保証されています(すなわち、等しい要素の順番はもとのリスト内での前後関係が保存されるということです)。
stable_sort [ArrayLabels]
Same as ArrayLabels.sort, but the sorting algorithm is stable (i.e.
stable_sort [Array]
Array.sort と同じですが、整列アルゴリズムが安定で(すなわち、等しいと判定された要素はもとの順序が保たれます)、一定のヒープ空間で実行できることが保証されません。
stat [UnixLabels.LargeFile]
stat [UnixLabels]
Return the information for the named file.
stat [Unix.LargeFile]
stat [Unix]
与えられた名前のファイルの情報を返します。
stat [Gc]
Return the current values of the memory management counters in a stat record.
stats [Weak.S]
Return statistics on the table.
stats [CamlinternalOO]
std_formatter [Format]
The standard formatter used by the formatting functions above.
stdbuf [Format]
The string buffer in which str_formatter writes.
stderr [UnixLabels]
File descriptor for standard error.
stderr [Unix]
標準エラーのファイル記述子。
stderr [Pervasives]
プロセスの標準エラー出力
stdib [Scanf.Scanning]
A deprecated alias for Scanning.stdin, the scanning buffer reading from Pervasives.stdin.
stdin [UnixLabels]
File descriptor for standard input.
stdin [Unix]
標準入力のファイル記述子。
stdin [Scanf.Scanning]
The standard input notion for the module Scanf.
stdin [Pervasives]
プロセスの標準入力
stdout [UnixLabels]
File descriptor for standard output.
stdout [Unix]
標準出力のファイル記述子。
stdout [Pervasives]
プロセスの標準出力
str_formatter [Format]
A formatter to use with formatting functions below for output to the stdbuf string buffer.
string [Digest]
与えられた文字列のダイジェストを返します。
string_after [Str]
string_after s ns 中の n 番目より後の文字をすべて含む部分文字列を返します(n 番目の文字を含みます)。
string_before [Str]
string_before s ns 中の n 番目より前の文字をすべて含む部分文字列を返します(n 番目の文字は含みません)。
string_match [Str]
string_match r s startsstart 番目から始まる部分文字列が正規表現 r にマッチするかどうか検査します。 文字列の最初の文字は通常通り 0 番目です。
string_of_big_int [Big_int]
与えられた多倍長整数の十進文字列表現を返します。
string_of_bool [Pervasives]
真偽値の文字列表現を返します。
string_of_float [Pervasives]
浮動小数点数の文字列表現を返します。
string_of_format [Pervasives]
書式指定文字列を文字列に変換します。
string_of_inet_addr [UnixLabels]
Return the printable representation of the given Internet address.
string_of_inet_addr [Unix]
与えられたインターネットアドレスの表示可能な表現を返します。 戻り値の形式については Unix.inet_addr_of_string を参照してください。
string_of_int [Pervasives]
整数の十進文字列表現を返します。
string_of_num [Num]
数を分数表記の文字列に変換します。
string_partial_match [Str]
Str.string_match とほぼ同じですが、引数の文字列が与えられた正規表現にマッチする文字列の接頭辞であるときにも真を返します。 これは完全にマッチした場合も含みます。
string_tag [Obj]
sub [StringLabels]
String.sub s start len returns a fresh string of length len, containing the characters number start to start + len - 1 of string s.
sub [String]
String.sub s start len は、 s の位置 start から始まり長さ len である部分文字列を格納した、長さ len の新しい文字列を返します。
sub [StdLabels.String]
sub [StdLabels.Array]
sub [Nativeint]
減算。
sub [Int64]
減算。
sub [Int32]
減算。
sub [Complex]
減算。
sub [Buffer]
Buffer.sub b off len はバッファ b の現在の内容の off 番目から len バイト分の長さの部分文字列(のコピー)を返します。 引数が範囲外であった場合には Invalid_argument 例外が発生します。 バッファ自体は何の影響も受けません。
sub [Bigarray.Array1]
Extract a sub-array of the given one-dimensional big array.
sub [ArrayLabels]
Array.sub a start len returns a fresh array of length len, containing the elements number start to start + len - 1 of array a.
sub [Array]
Array.sub a start len は、長さ len で、配列 astart 番目から start + len - 1 番目の要素までを含む新しい配列を返します。
sub_big_int [Big_int]
減算。
sub_left [Bigarray.Array3]
Extract a three-dimensional sub-array of the given three-dimensional big array by restricting the first dimension.
sub_left [Bigarray.Array2]
Extract a two-dimensional sub-array of the given two-dimensional big array by restricting the first dimension.
sub_left [Bigarray.Genarray]
Extract a sub-array of the given big array by restricting the first (left-most) dimension.
sub_num [Num]
減算。
sub_right [Bigarray.Array3]
Extract a three-dimensional sub-array of the given three-dimensional big array by restricting the second dimension.
sub_right [Bigarray.Array2]
Extract a two-dimensional sub-array of the given two-dimensional big array by restricting the second dimension.
sub_right [Bigarray.Genarray]
Extract a sub-array of the given big array by restricting the last (right-most) dimension.
subset [Set.S]
subset s1 s2 は集合 s1s2 の部分集合であるか検査します。
subset [MoreLabels.Set.S]
substitute_first [Str]
Str.global_substitute と同じですが、正規表現にマッチした最初の部分文字列だけが置換されます。
substring [Digest]
Digest.substring s ofs lens の部分文字列で ofs 文字目から始まり len 文字を含む部分文字列のダイジェストを返します。
succ [Pervasives]
succ xx + 1 になります。
succ [Nativeint]
後者関数。 Nativeint.succ xNativeint.add x Nativeint.one になります。
succ [Int64]
後者関数。 Int64.succ xInt64.add x Int64.one になります。
succ [Int32]
後者関数。 Int32.succ xInt32.add x Int32.one になります。
succ_big_int [Big_int]
後者関数(足す 1)。
succ_num [Num]
succ nn + 1 になります。
symbol_end [Parsing]
symbol_end_pos [Parsing]
Same as symbol_end, but return a position instead of an offset.
symbol_start [Parsing]
symbol_start and Parsing.symbol_end are to be called in the action part of a grammar rule only.
symbol_start_pos [Parsing]
Same as symbol_start, but return a position instead of an offset.
symlink [UnixLabels]
symlink source dest creates the file dest as a symbolic link to the file source.
symlink [Unix]
symlink source dest はファイル source のシンボリックリンク dest を作成します。
sync [Event]
``Synchronize'' on an event: offer all the communication possibilities specified in the event to the outside world, and block until one of the communications succeed.
synchronize [Graphics]
Synchronize the backing store and the on-screen window, by copying the contents of the backing store onto the graphics window.
system [UnixLabels]
Execute the given command, wait until it terminates, and return its termination status.
system [Unix]
与えられたプログラムを実行し、それが終了するまで待ち、そのプログラムの終了ステータスを返します。 引数の文字列は /bin/sh により解釈されるため、リダイレクトやクォート、変数等を含めることができます。 戻り値 WEXITED 127 はシェルを実行できなかったことを意味します。
system [ThreadUnix]

T
tag [Obj]
take [Queue]
take q はキュー q から最初の要素を取り除いてその要素を返します。 キューが空のときは Empty 例外が発生します。
tan [Pervasives]
正接。引数はラジアン角です。
tanh [Pervasives]
双曲線正接関数。引数はラジアン角です。
tcdrain [UnixLabels]
Waits until all output written on the given file descriptor has been transmitted.
tcdrain [Unix]
与えられたファイル記述子に書き込まれた出力がすべて送信されるまで待ちます。
tcflow [UnixLabels]
Suspend or restart reception or transmission of data on the given file descriptor, depending on the second argument: TCOOFF suspends output, TCOON restarts output, TCIOFF transmits a STOP character to suspend input, and TCION transmits a START character to restart input.
tcflow [Unix]
第二引数に応じて、与えられたファイル記述子へのデータの送受信を一時停止または再開します。 TCOOFF は出力を一時停止し、 TCOON は出力を再開します。 TCIOFF は STOP 文字を送信して入力を一時停止し、 TCION は START 文字を送信して入力を再開します。
tcflush [UnixLabels]
Discard data written on the given file descriptor but not yet transmitted, or data received but not yet read, depending on the second argument: TCIFLUSH flushes data received but not read, TCOFLUSH flushes data written but not transmitted, and TCIOFLUSH flushes both.
tcflush [Unix]
第二引数に応じて、与えられたファイル記述子に書き込まれたがまだ送信されていないデータ、もしくは受信したがまだ読み込んでいないデータを破棄します。 TCIFLUSH は受信したが読み込んでいないデータを破棄します。 TCOFLUSH は書き込んだが送信していないデータを破棄します。 TCIOFLUSH は両方を破棄します。
tcgetattr [UnixLabels]
Return the status of the terminal referred to by the given file descriptor.
tcgetattr [Unix]
与えられたファイル記述子の参照している端末の状態を返します。
tcsendbreak [UnixLabels]
Send a break condition on the given file descriptor.
tcsendbreak [Unix]
与えられたファイル記述子に BREAK 条件を送信します。 第二引数には BREAK の遅延時間を 0.1 秒単位で指定します。 0 にすると標準の遅延時間(0.25 秒)を意味します。
tcsetattr [UnixLabels]
Set the status of the terminal referred to by the given file descriptor.
tcsetattr [Unix]
与えられたファイル記述子の参照している端末の状態を設定します。 第二引数は状態の変更がいつ行なわれるかを示します。 TCSANOW の場合は即座に、 TCSADRAIN は保留されていた出力がすべて送信されたときに、 TCSAFLUSH は受信してまだ読み込んでいなかった入力をすべてフラッシュしたあとに変更を行ないます。 出力パラメータを変更する場合には TCSADRAIN が推奨され、入力パラメータの場合には TCSAFLUSH が推奨されます。
temp_dir_name [Filename]
一時ディレクトリの名前です。 Unix では、環境変数 TMPDIR の値か、設定されていなければ "/tmp" になります。 Windows では、環境変数 TEMP の値か、設定されていなければ "." になります。
temp_file [Filename]
temp_file prefix suffix は一時ディレクトリ内の新しい一時ファイルの名前を返します。 一時ファイルのベースネームは prefix で始まり、次に適当に選ばれた整数、次に suffix と続きます。 省略可能引数 temp_dir には使用する一時ディレクトリを指定します。 デフォルトは Filename.temp_dir_name です。 パーミッションが 0o600 の(所有者のみが読み書きできる)空の一時ファイルが作成されます。 このファイルは temp_file が呼び出された時点の他のどのファイルとも異なることが保証されています。
text_size [Graphics]
Return the dimensions of the given text, if it were drawn with the current font and size.
time [UnixLabels]
Return the current time since 00:00:00 GMT, Jan.
time [Unix]
1970 年 1 月 1 日 00:00:00 GMT から現在までの経過秒数。
time [Sys]
プログラムの実行開始から現在までのプロセッサ時間を秒単位で返します。
timed_read [ThreadUnix]
timed_write [ThreadUnix]
Behave as ThreadUnix.read and ThreadUnix.write, except that Unix_error(ETIMEDOUT,_,_) is raised if no data is available for reading or ready for writing after d seconds.
times [UnixLabels]
Return the execution times of the process.
times [Unix]
現在のプロセスの実行時間を返します。
tl [StdLabels.List]
tl [ListLabels]
Return the given list without its first element.
tl [List]
与えられたリストから先頭要素を除いたものを返します。リストが空の場合には Failure "tl" 例外が発生します。
to_buffer [Marshal]
Marshal.to_buffer buff ofs len v flags は値 v をマーシャリングし、そのバイト列表現を文字列 buff の、 ofs 文字目から最大 len 文字の範囲に格納します。 この関数は実際に書き込んだ文字数を返します。 v のバイト列表現が len 文字に収まらなかった場合には Failure 例外が発生します。
to_channel [Marshal]
Marshal.to_channel chan v flagsv のバイト表現をチャネル chan に書き込みます。 flags は、共有構造や関数値に対するマーシャリングの振る舞いを制御するフラグのリストです。
to_float [Nativeint]
与えられたネイティブ整数を浮動小数点数に変換します。
to_float [Int64]
与えられた 64 ビット整数を浮動小数点数に変換します。
to_float [Int32]
与えられた 32 ビット整数を浮動小数点数に変換します。
to_hex [Digest]
与えられたダイジェストの、表示可能な十六進表現を返します。
to_int [Nativeint]
与えられた(nativeint 型の)ネイティブ整数を(int 型の)整数に変換します。 上位ビットは変換により失われます。
to_int [Int64]
与えられた 64 ビット整数を(int 型の)整数に変換します。 64 ビットプラットフォームでは、引数の 64 ビット整数の 263 を法とした剰余を取ります。 すなわち、最上位ビットは変換により失われます。 32 ビットプラットフォームでは、引数の 64 ビット整数の 231 を法とした剰余を取ります。 すなわち、上位 33 ビットは変換により失われます。
to_int [Int32]
与えられた 32 ビット整数を(int 型の)整数に変換します。 32 ビットプラットフォームでは、引数の 32 ビット整数の 231 を法とした剰余を取ります。 すなわち、最上位ビットは変換により失われます。 64 ビットプラットフォームでは正確に変換が行なわれます。
to_int32 [Nativeint]
与えられたネイティブ整数を(int32 型の) 32 ビット整数に変換します。 64 ビットプラットフォームでは、引数のネイティブ整数の 232 を法とした剰余を取ります。 すなわち、上位 32 ビットが失われます。 32 ビットプラットフォームでは、変換は正確に行なわれます。
to_int32 [Int64]
与えられた 64 ビット整数(int64 型)を 32 ビット整数(int32 型)に変換します。 引数の 64 ビット整数は 232 を法とした剰余を取ります。 すなわち、上位 32 ビットは変換により失われます。
to_list [StdLabels.Array]
to_list [ArrayLabels]
Array.to_list a returns the list of all the elements of a.
to_list [Array]
Array.to_list aa の全要素のリストを返します。
to_nativeint [Int64]
与えられた 64 ビット整数(int64 型)を計算機ネイティブの整数に変換します。 32 ビットプラットフォームでは、引数の 64 ビット整数の 232 を法とした剰余を取ります。 64 ビットプラットフォームでは変換は正確に行なわれます。
to_string [Printexc]
Printexc.to_string e は例外 e の文字列表現を返します。
to_string [Nativeint]
引数の符号付き十進数としての文字列表現を返します。
to_string [Marshal]
Marshal.to_string v flagsv のバイト列表現を格納した文字列を返します。 flags 引数の意味は Marshal.to_channel と同じです。
to_string [Int64]
引数の符号付き十進数としての文字列表現を返します。
to_string [Int32]
引数の符号付き十進数としての文字列表現を返します。
top [Stack]
top s はスタック s の先頭の要素を返します。 スタックが空のときは Empty 例外が発生します。
top [Queue]
peek と同義です。
total_size [Marshal]
Marshal.header_size を参照してください。
transfer [Queue]
transfer q1 q2q1 の要素をすべてキュー q2 の末尾に追加し、 q1clear します。 これは iter (fun x -> add x qs); clear q1 と等価ですが定数時間で実行されます。
transp [Graphics]
In matrices of colors, this color represent a ``transparent'' point: when drawing the corresponding image, all pixels on the screen corresponding to a transparent pixel in the image will not be modified, while other points will be set to the color of the corresponding point in the image.
truncate [UnixLabels.LargeFile]
truncate [UnixLabels]
Truncates the named file to the given size.
truncate [Unix.LargeFile]
truncate [Unix]
与えられた名前のファイルを指定のサイズに切り詰めます。
truncate [Pervasives]
int_of_float と同じです。
truncate [Obj]
try_lock [Mutex]
Mutex.lock と同じですが、 Mutex が既にロックされていた場合でもスレッドは中断せず、単に false を返します。 Mutex がロックされていなかった場合には、その Mutex をロックし true を返します。

U
umask [UnixLabels]
Set the process's file mode creation mask, and return the previous mask.
umask [Unix]
プロセスの umask を変更し、変更前の umask を返します。
unaligned_tag [Obj]
uncapitalize [StringLabels]
Return a copy of the argument, with the first character set to lowercase.
uncapitalize [String]
引数の文字列の最初の文字を小文字に置き換えたコピーを返します。
uncapitalize [StdLabels.String]
union [Set.S]
和集合。
union [MoreLabels.Set.S]
unit_big_int [Big_int]
多倍長整数の 1
unlink [UnixLabels]
Removes the named file
unlink [Unix]
与えられた名前のファイルを削除します。
unlock [Mutex]
与えられた Mutex のロックを解除します。 その Mutex をロックしようとして中断していたスレッドは再開します。
unmarshal [Obj]
unsafe_blit [StdLabels.String]
unsafe_fill [StdLabels.String]
unsafe_get [StdLabels.String]
unsafe_get [StdLabels.Array]
unsafe_get [Bigarray.Array3]
Like Bigarray.Array3.get, but bounds checking is not always performed.
unsafe_get [Bigarray.Array2]
Like Bigarray.Array2.get, but bounds checking is not always performed.
unsafe_get [Bigarray.Array1]
Like Bigarray.Array1.get, but bounds checking is not always performed.
unsafe_really_input [Pervasives]
unsafe_set [StdLabels.String]
unsafe_set [StdLabels.Array]
unsafe_set [Bigarray.Array3]
Like Bigarray.Array3.set, but bounds checking is not always performed.
unsafe_set [Bigarray.Array2]
Like Bigarray.Array2.set, but bounds checking is not always performed.
unsafe_set [Bigarray.Array1]
Like Bigarray.Array1.set, but bounds checking is not always performed.
update [Tk]
Synchronize display with internal state.
update_mod [CamlinternalMod]
uppercase [StringLabels]
Return a copy of the argument, with all lowercase letters translated to uppercase, including accented letters of the ISO Latin-1 (8859-1) character set.
uppercase [String]
引数の文字列中の小文字(ISO Latin-1 (8859-1)のアクセント付き文字を含む)を大文字に置き換えたコピーを返します。
uppercase [StdLabels.String]
uppercase [Char]
与えられた文字を対応する大文字に変換します。
usage [Arg]
Arg.usage speclist usage_msg は有効なコマンドライン引数を含むエラーメッセージを表示します。 これは Arg.parse がエラーのときに表示するものと同じメッセージです。 speclistusage_msgArg.parse に渡すものと同じです。
utimes [UnixLabels]
Set the last access time (second arg) and last modification time (third arg) for a file.
utimes [Unix]
ファイルの最終アクセス時刻(第二引数)と最終修正時刻(第三引数)を設定します。 時刻は 1970 年 1 月 1 日 00:00:00 GMT からの経過秒数で表します。 0.0 は現在時刻と解釈されます。

V
valid_float_lexem [Pervasives]

W
wait [UnixLabels]
Wait until one of the children processes die, and return its pid and termination status.
wait [Unix]
子プロセスのいずれかが終了するまで待ち、子プロセスのプロセス ID と終了ステータスを返します。
wait [ThreadUnix]
wait [Condition]
wait c m atomically unlocks the mutex m and suspends the calling process on the condition variable c.
wait_next_event [Graphics]
Wait until one of the events specified in the given event list occurs, and return the status of the mouse and keyboard at that time.
wait_pid [Thread]
wait_pid p suspends the execution of the calling thread until the process specified by the process identifier p terminates.
wait_read [Thread]
wait_signal [Thread]
wait_signal sigs suspends the execution of the calling thread until the process receives one of the signals specified in the list sigs.
wait_timed_read [Thread]
wait_timed_write [Thread]
Suspend the execution of the calling thread until at least one character is available for reading (wait_read) or one character can be written without blocking (wait_write) on the given Unix file descriptor.
wait_write [Thread]
This function does nothing in this implementation.
waitpid [UnixLabels]
Same as UnixLabels.wait, but waits for the process whose pid is given.
waitpid [Unix]
Unix.wait と同じですが、与えられたプロセス ID の子プロセスを待ちます。 プロセス ID として -1 を指定すると任意の子プロセスを待ち、 0 を指定すると現在のプロセスと同一のプロセスグループの任意の子プロセスを待ちます。 負のプロセス ID はプロセスグループを表します。 フラグのリストには子プロセスを待たずに直ちに返るか、子プロセスの停止も報告するかを指定します。
waitpid [ThreadUnix]
white [Graphics]
widen [CamlinternalOO]
window_id [GraphicsX11]
Return the unique identifier of the Caml graphics window.
word_size [Sys]
現在 Caml プログラムを実行している計算機の 1 ワードのサイズ(ビット単位)。 32 か 64 になります。
wrap [Event]
wrap ev fn returns the event that performs the same communications as ev, then applies the post-processing function fn on the return value.
wrap_abort [Event]
wrap_abort ev fn returns the event that performs the same communications as ev, but if it is not selected the function fn is called after the synchronization.
write [UnixLabels]
write fd buff ofs len writes len characters to descriptor fd, taking them from string buff, starting at position ofs in string buff.
write [Unix]
write fd buff ofs len は文字列 buffofs 文字目から len 文字を取り出し、ファイル記述子 fd に書き込みます。 戻り値は実際に書き込まれた文字数です。 文字がすべて書き込まれるかエラーが起こるまで書き込み処理を繰り返します。
write [ThreadUnix]

X
xor_big_int [Big_int]
ビットごとの排他的論理和。 引数は 0 以上でなければなりません。

Y
yellow [Graphics]
yield [Thread]
Re-schedule the calling thread without suspending it.

Z
zero [Nativeint]
ネイティブ整数の 0。
zero [Int64]
64 ビット整数の 0。
zero [Int32]
32 ビット整数の 0。
zero [Complex]
複素数の 0
zero_big_int [Big_int]
多倍長整数の 0