Slide 12
Slide 12 text
Wisp (SRFI 119) ルール
let ;(let ((x 1)
: x 1 ; (y 2)
y 2 ; (y 3))
body ; body)
・Colon”:” 行頭にある ▶ 下のインデントが閉じるまで、
それ以外 ▶ 行末まで
define : f a ;(define (f a)
+ ; + a 1)
a 1
・ Dot “.” 引数(atom)を並べる
list
. 1 2
. 3
. 4 ;(list 1 2 3 4)
list
1 2
3 ;エラー
4 ;(list (1 2) (3) (4))
11