Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
12
Task/Scope-modifiers/Common-Lisp/scope-modifiers.lisp
Normal file
12
Task/Scope-modifiers/Common-Lisp/scope-modifiers.lisp
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
;; *bug* shall have a dynamic binding.
|
||||
(declaim (special *bug*))
|
||||
|
||||
(let ((shape "triangle") (*bug* "ant"))
|
||||
(flet ((speak ()
|
||||
(format t "~% There is some ~A in my ~A!" *bug* shape)))
|
||||
(format t "~%Put ~A in your ~A..." *bug* shape)
|
||||
(speak)
|
||||
|
||||
(let ((shape "circle") (*bug* "cockroach"))
|
||||
(format t "~%Put ~A in your ~A..." *bug* shape)
|
||||
(speak))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue