version 1.13, 2004/07/09 02:17:45 |
version 1.14, 2004/07/10 05:50:57 |
|
|
%% $OpenXM: OpenXM/src/asir-doc/exp/exp-ja.texi,v 1.12 2004/07/07 02:58:45 takayama Exp $ |
%% $OpenXM: OpenXM/src/asir-doc/exp/exp-ja.texi,v 1.13 2004/07/09 02:17:45 takayama Exp $ |
\input texinfo |
\input texinfo |
@iftex |
@iftex |
@catcode`@#=6 |
@catcode`@#=6 |
|
|
@item |
@item |
$BJQ99$r$&$1$?%=!<%9%3!<%I$O(B |
$BJQ99$r$&$1$?%=!<%9%3!<%I$O(B |
builtin/strobj.c 1.47, |
builtin/strobj.c 1.47, |
|
parse/eval.c 1.35, |
|
parse/parse.h 1.31, |
|
parse/quote.c 1.14--1.16. |
|
@end itemize |
|
|
|
@node assoc,,, $B<B83E*;EMM$N4X?t(B |
|
@subsection @code{assoc} |
|
@findex assoc |
|
|
|
@comment --- $B4X?t$N4JC1$J@bL@(B --- |
|
@table @t |
|
@item assoc(@var{a},@var{b}) |
|
:: $BO"A[%j%9%H$r$D$/$k(B |
|
@end table |
|
|
|
@table @var |
|
@item return |
|
List |
|
@item a |
|
List |
|
@item b |
|
List |
|
@end table |
|
|
|
@itemize @bullet |
|
@item $B%j%9%H(B @var{a}, @var{b} $B$h$j(B |
|
[[@var{a}[0],@var{b}[0]], [@var{a}[1],@var{b}[1]], ...] |
|
$B$J$k?7$7$$%j%9%H$r@8@.$9$k(B. |
|
@end itemize |
|
|
|
$B2<$NNc$G$O(B @code{A} $B$KF0J*$NL>A0$,(B, |
|
@code{B} $B$KB-$NK\?t$,F~$C$F$$$k(B. |
|
@code{assoc(A,B)} $B$GF0J*$HB-$NK\?t$r%Z%"$K$7$?%j%9%H$r@8@.$9$k(B. |
|
|
|
@example |
|
[1192] A=["dog","cat","snake"]; |
|
[dog,cat,snake] |
|
[1193] B=[4,4,0]; |
|
[4,4,0] |
|
[1194] assoc(A,B); |
|
[[dog,4],[cat,4],[snake,0]] |
|
@end example |
|
|
|
@table @t |
|
@item $B;2>H(B |
|
@ref{cons}, @ref{append} |
|
@end table |
|
|
|
@comment --- ChangeLog $B$r=q$/(B. $BF05!(B. $B%=!<%9%3!<%I$N0LCV(B. $BJQ99F|;~(B $B$J$I(B CVS$B%5!<%P$r8+$k$?$a(B |
|
@noindent |
|
ChangeLog |
|
@itemize @bullet |
|
@item |
|
$B$3$N4X?t$O(B 2004-6-28 $B$K=q$+$l$?(B. |
|
$BJQ99$r$&$1$?%=!<%9%3!<%I$O(B |
|
builtin/list.c 1.9 |
parse/eval.c 1.35, |
parse/eval.c 1.35, |
parse/parse.h 1.31, |
parse/parse.h 1.31, |
parse/quote.c 1.14--1.16. |
parse/quote.c 1.14--1.16. |