18 lines
365 B
Perl
18 lines
365 B
Perl
(let ((a 5) (b 6))
|
|
(expect "a is 5" (= a 5))
|
|
(expect "b is 6" (= b 6))
|
|
)
|
|
|
|
(let ((a 'top))
|
|
(let ((a 'shadow)
|
|
(b a))
|
|
(comment b)
|
|
(expect "let - non incremental context"
|
|
(equal b 'top))))
|
|
|
|
(let ((a 'top))
|
|
(let* ((a 'shadow)
|
|
(b a))
|
|
(comment b)
|
|
(expect "let* - Incremental context"
|
|
(equal b 'shadow))))
|