ほんとのこと知りたいだけなのに。

夏休みはもうおわり。

Emacs Lisp 制御構造のオペレータ一覧

あれ? cond ってあったっけと思い一覧を作成。

9. 制御構造から抜粋。

制御構造のオペレータ一覧

9.1 逐次実行

type contents
Special Form progn forms...
Special Form prog1 form1 forms...
Special Form prog2 form1 form2 forms...

9.2 条件付き実行

type contents
Special Form if condition then-form else-forms...
Macro when condition then-forms...
Macro unless condition forms...
Special Form cond clause...

9.3 条件の組み合わせ

type contents
Function not condition
Special Form and conditions...
Special Form or conditions...

9.4 繰り返し

type contents
Special Form while condition forms...

9.5 非ローカル脱出

type contents
Special Form catch tag body...
Function throw tag value

9.5.3 エラー

9.5.3.1 エラーの通知方法

type contents
Function error format-string &rest args
Function signal error-symbol data

9.5.3.3 エラーハンドラの書き方

type contents
Special Form condition-case var protected-form handlers...
Function error-message-string error-description

9.5.4 非ローカル脱出時の後始末

type contents
Special Form unwind-protect body cleanup-forms...

おわり

cond はありましたね。

制御系は Common Lisp とさほど変わらん感じですね。