Emacs Lisp 3
■ このスレッドは過去ログ倉庫に格納されています
0693デフォルトの名無しさん
2012/02/04(土) 00:55:00.25> let is a special form in `C source code'.
>
> (let VARLIST BODY...)
>
> Bind variables according to VARLIST then eval BODY.
> The value of the last form in BODY is returned.
> Each element of VARLIST is a symbol (which is bound to nil)
> or a list (SYMBOL VALUEFORM) (which binds SYMBOL to the value of VALUEFORM).
> All the VALUEFORMs are evalled before any symbols are bound.
だからerror-codeにはnilが束縛されて、
try-funcに(lambda () ...)が束縛される。
普通の関数は(funcall try-func)として実行できない。
try-funcが評価されて返ってきた関数を実行する。
■ このスレッドは過去ログ倉庫に格納されています