Go to the first, previous, next, last section, table of contents.


functor, args, funargs

functor(func)
:: func の函数子を取り出す.
args(func)
:: func の引数リストを取り出す.
funargs(func)
:: cons(functor(func),args(func)) を返す.
return
functor() : 不定元, args(), funargs() : リスト
func
函数形式を表す不定元
[0] functor(sin(x));
sin
[0] args(sin(x));
[x]
[0] funargs(sin(3*cos(y)));
[sin,3*cos(y)]
[1] for (L=[sin,cos,tan];L!=[];L=cdr(L)) {A=car(L); print(eval((*A)(@pi/3)));}
0.86602540349122136831
0.5000000002
1.7320508058
参照
section vtype.


Go to the first, previous, next, last section, table of contents.