OSDN Git Service

LaTex用に更新.
[omake-japanese/omake_trans.git] / base.rst
index 4fad068..7d79337 100644 (file)
--- a/base.rst
+++ b/base.rst
@@ -2,7 +2,7 @@
 
 .. _label9:
 
-9. 基本ライブラリ
+基本ライブラリ
 ==================================
 
 .. index::
@@ -23,7 +23,7 @@
    single: VERBOSE
 .. _label9.1:
 
-9.1 ビルドイン変数
+ビルドイン変数
 ----------------------------------
 
 * **OMAKE_VERSION** 
 
 .. _label9.2:
 
-9.2 論理式、真偽関数、コマンドのコントロール
+論理式、真偽関数、コマンドのコントロール
 -------------------------------------------------
 .. Boolean values in omake are represented by case-insensitive strings. The false value can be represented by the strings false, no, nil, undefined or 0, and everything else is true.
 
@@ -150,7 +150,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: not()
 .. _label9.2.1:
 
-9.2.1 not
+not
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -169,7 +169,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: equal()
 .. _label9.2.2:
 
-9.2.2 equal
+equal
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The equal function tests for equality of two values.
 
@@ -183,7 +183,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: and()
 .. _label9.2.3:
 
-9.2.3 and
+and
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -207,7 +207,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: or()
 .. _label9.2.4:
 
-9.2.4 or
+or
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -231,7 +231,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: if()
 .. _label9.2.5:
 
-9.2.5 if
+if
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -282,7 +282,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: match()
 .. _label9.2.6:
 
-9.2.6 switch, match
+switch, match
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The switch and match functions perform pattern matching.
 
@@ -337,7 +337,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: try
 .. _label9.2.7:
 
-9.2.7 try
+try
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -379,7 +379,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: raise()
 .. _label9.2.8:
 
-9.2.8 raise
+raise
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The raise function raises an exception. The exn object can be any object. However, the normal convention is to raise an Exception object.
 
@@ -393,7 +393,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: exit()
 .. _label9.2.9:
 
-9.2.9 exit
+exit
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -414,7 +414,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: defined()
 .. _label9.2.10:
 
-9.2.10 defined
+defined
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -440,7 +440,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: defined-env()
 .. _label9.2.11:
 
-9.2.11 defined-env
+defined-env
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -463,7 +463,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: getenv()
 .. _label9.2.12:
 
-9.2.12 getenv
+getenv
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -495,7 +495,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: setenv()
 .. _label9.2.13:
 
-9.2.13 setenv
+setenv
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -511,7 +511,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: unsetenv()
 .. _label9.2.14:
 
-9.2.14 unsetenv
+unsetenv
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -526,7 +526,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: get-registry()
 .. _label9.2.15:
 
-9.2.15 get-registry
+get-registry
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -569,7 +569,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: getvar()
 .. _label9.2.16:
 
-9.2.16 getvar
+getvar
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -601,7 +601,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: setvar()
 .. _label9.2.17:
 
-9.2.17 setvar
+setvar
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -622,14 +622,14 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
 
     setvar(public.X, abc)
 
-9.3 配列とシーケンス
+配列とシーケンス
 ----------------------------------
 
 .. index::
    single: array()
 .. _label9.3.1:
 
-9.3.1 array
+array
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -657,7 +657,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: split()
 .. _label9.3.2:
 
-9.3.2 split
+split
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -684,7 +684,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: concat()
 .. _label9.3.3:
 
-9.3.3 concat
+concat
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -707,7 +707,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: length()
 .. _label9.3.4:
 
-9.3.4 length
+length
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -726,7 +726,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: nth()
 .. _label9.3.5:
 
-9.3.5 nth
+nth
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -747,7 +747,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: replace-nth()
 .. _label9.3.6:
 
-9.3.6 replace-nth
+replace-nth
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -769,7 +769,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: nth-hd()
 .. _label9.3.7:
 
-9.3.7 nth-hd
+nth-hd
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -790,7 +790,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: nth-tl()
 .. _label9.3.8:
 
-9.3.8 nth-tl
+nth-tl
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -811,7 +811,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: subrange()
 .. _label9.3.9:
 
-9.3.9 subrange
+subrange
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -833,7 +833,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: rev()
 .. _label9.3.10:
 
-9.3.10 rev
+rev
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -848,7 +848,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: join()
 .. _label9.3.11:
 
-9.3.11 join
+join
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -864,7 +864,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: string()
 .. _label9.3.12:
 
-9.3.12 string
+string
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -879,7 +879,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: string-length()
 .. _label9.3.13:
 
-9.3.13 string-length
+string-length
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -899,7 +899,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: id-escaped()
 .. _label9.3.14:
 
-9.3.14 string-escaped, ocaml-escaped, html-escaped, html-pre-escaped, c-escaped, id-escaped
+string-escaped, ocaml-escaped, html-escaped, html-pre-escaped, c-escaped, id-escaped
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -941,7 +941,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: encode-uri()
 .. _label9.3.15:
 
-9.3.15 decode-uri, encode-uri
+decode-uri, encode-uri
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -961,7 +961,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: quote()
 .. _label9.3.16:
 
-9.3.16 quote
+quote
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -980,7 +980,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: quote-argv()
 .. _label9.3.17:
 
-9.3.17 quote-argv
+quote-argv
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -995,7 +995,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: html-string()
 .. _label9.3.18:
 
-9.3.18 html-string
+html-string
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1010,7 +1010,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: addsuffix()
 .. _label9.3.19:
 
-9.3.19 addsuffix
+addsuffix
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1030,7 +1030,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: mapsuffix()
 .. _label9.3.20:
 
-9.3.20 mapsuffix
+mapsuffix
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1050,7 +1050,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: addsuffixes()
 .. _label9.3.21:
 
-9.3.21 addsuffixes
+addsuffixes
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1070,7 +1070,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: removeprefix()
 .. _label9.3.22:
 
-9.3.22 removeprefix
+removeprefix
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1086,7 +1086,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: removesuffix()
 .. _label9.3.23:
 
-9.3.23 removesuffix
+removesuffix
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1105,7 +1105,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: replacesuffixes()
 .. _label9.3.24:
 
-9.3.24 replacesuffixes
+replacesuffixes
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1126,7 +1126,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: addprefix()
 .. _label9.3.25:
 
-9.3.25 addprefix
+addprefix
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1146,7 +1146,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: mapprefix()
 .. _label9.3.26:
 
-9.3.26 mapprefix
+mapprefix
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1166,7 +1166,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: add-wrapper()
 .. _label9.3.27:
 
-9.3.27 add-wrapper
+add-wrapper
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1183,7 +1183,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: set()
 .. _label9.3.28:
 
-9.3.28 set
+set
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1202,7 +1202,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: mem()
 .. _label9.3.29:
 
-9.3.29 mem
+mem
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1222,7 +1222,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: intersection()
 .. _label9.3.30:
 
-9.3.30 intersection
+intersection
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1242,7 +1242,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: intersects()
 .. _label9.3.31:
 
-9.3.31 intersects
+intersects
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1262,7 +1262,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: set-diff()
 .. _label9.3.32:
 
-9.3.32 set-diff
+set-diff
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1285,7 +1285,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: filter()
 .. _label9.3.33:
 
-9.3.33 filter
+filter
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1305,7 +1305,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: filter-out()
 .. _label9.3.34:
 
-9.3.34 filter-out
+filter-out
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1325,7 +1325,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: capitalize()
 .. _label9.3.35:
 
-9.3.35 capitalize
+capitalize
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1340,7 +1340,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: uncapitalize()
 .. _label9.3.36:
 
-9.3.36 uncapitalize
+uncapitalize
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1359,7 +1359,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: uppercase()
 .. _label9.3.37:
 
-9.3.37 uppercase
+uppercase
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1374,7 +1374,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: lowercase()
 .. _label9.3.38:
 
-9.3.38 lowercase
+lowercase
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1393,7 +1393,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: system()
 .. _label9.3.39:
 
-9.3.39 system
+system
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1414,7 +1414,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: shell()
 .. _label9.3.40:
 
-9.3.40 shell
+shell
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1443,7 +1443,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: export()
 .. _label9.3.41:
 
-9.3.41 export
+export
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The export function allows one to capture the current environment in a variable.
 
@@ -1471,7 +1471,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: while
 .. _label9.3.42:
 
-9.3.42 while
+while
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1533,7 +1533,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: break
 .. _label9.3.43:
 
-9.3.43 break
+break
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1548,7 +1548,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: random-init()
 .. _label9.3.44:
 
-9.3.44 random, random-init
+random, random-init
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
@@ -1566,14 +1566,14 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
 
 .. _label9.4:
 
-9.4 演算
+演算
 ----------------------------------
 
 .. index::
    single: int()
 .. _label9.4.1:
 
-9.4.1 int
+int
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The int function can be used to create integers. It returns an Int object.
 
@@ -1585,7 +1585,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: float()
 .. _label9.4.2:
 
-9.4.2 float
+float
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The float function can be used to create floating-point numbers. It returns a Float object.
 
@@ -1611,7 +1611,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: max()
 .. _label9.4.3:
 
-9.4.3 基本的な演算
+基本的な演算
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The following functions can be used to perform basic arithmetic.
 
@@ -1662,7 +1662,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
    single: ugt()
 .. _label9.4.4:
 
-9.4.4 評価
+評価
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The following functions can be used to perform numerical comparisons.
 
@@ -1693,7 +1693,7 @@ omakeのブーリアン型は状況に無反応な(case-insensitive)文字列に
 
 .. _label9.5:
 
-9.5 基本的な関数群
+基本的な関数群
 ----------------------------------
 
 .. index::
@@ -1729,7 +1729,7 @@ $(fun <v1>, ..., <vn>, <body>)
    single: apply()
 .. _label9.5.2:
 
-9.5.2 apply
+apply
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The apply operator is used to apply a function.
 
@@ -1755,7 +1755,7 @@ $(fun <v1>, ..., <vn>, <body>)
    single: applya()
 .. _label9.5.3:
 
-9.5.3 applya
+applya
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The applya operator is used to apply a function to an array of arguments.
 
@@ -1779,7 +1779,7 @@ $(fun <v1>, ..., <vn>, <body>)
    single: create-lazy-map()
 .. _label9.5.4:
 
-9.5.4 create-map, create-lazy-map
+create-map, create-lazy-map
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The create-map is a simplified form for creating Map objects. The create-map function takes an even number of arguments that specify key/value pairs. For example, the following values are equivalent.
 
@@ -1809,14 +1809,14 @@ $(fun <v1>, ..., <vn>, <body>)
 
 .. _label9.6:
 
-9.6 イテレーションとマッピング
+イテレーションとマッピング
 ----------------------------------
 
 .. index::
    single: foreach()
 .. _label9.6.1:
 
-9.6.1 foreach
+foreach
 ^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The foreach function maps a function over a sequence.
 
@@ -1857,14 +1857,14 @@ $(fun <v1>, ..., <vn>, <body>)
 
 .. _label9.7:
 
-9.7 ブーリアン関数群
+ブーリアン関数群
 ----------------------------------
 
 .. index::
    single: sequence-forall()
 .. _label9.7.1:
 
-9.7.1 sequence-forall
+sequence-forall
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The forall function tests whether a predicate halds for each element of a sequence.
 
@@ -1879,7 +1879,7 @@ $(fun <v1>, ..., <vn>, <body>)
    single: sequence-forall()
 .. _label9.7.2:
 
-9.7.2 sequence-exists
+sequence-exists
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The exists function tests whether a predicate holds for some element of a sequence.
 
@@ -1894,7 +1894,7 @@ $(fun <v1>, ..., <vn>, <body>)
    single: sequence-sort()
 .. _label9.7.3:
 
-9.7.3 sequence-sort
+sequence-sort
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The sort function sorts the elements in an array, given a comparison function. Given two elements (x, y), the comparison should return a negative number if x < y; a positive number if x > y; and 0 if x = y.
 
@@ -1909,7 +1909,7 @@ $(fun <v1>, ..., <vn>, <body>)
    single: compare()
 .. _label9.7.4:
 
-9.7.4 compare
+compare
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The compare function compares two values (x, y) generically returning a negative number if x < y; a positive number if x > y; and 0 if x = y.