Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
1
Task/Variables/Common-Lisp/variables-1.lisp
Normal file
1
Task/Variables/Common-Lisp/variables-1.lisp
Normal file
|
|
@ -0,0 +1 @@
|
|||
(defparameter *x* nil "nothing")
|
||||
3
Task/Variables/Common-Lisp/variables-10.lisp
Normal file
3
Task/Variables/Common-Lisp/variables-10.lisp
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(defun frobnicate (x)
|
||||
(declare (type fixnum x))
|
||||
(the fixnum (+ x 128)))
|
||||
1
Task/Variables/Common-Lisp/variables-2.lisp
Normal file
1
Task/Variables/Common-Lisp/variables-2.lisp
Normal file
|
|
@ -0,0 +1 @@
|
|||
(defvar *x* 42 "The answer.")
|
||||
1
Task/Variables/Common-Lisp/variables-3.lisp
Normal file
1
Task/Variables/Common-Lisp/variables-3.lisp
Normal file
|
|
@ -0,0 +1 @@
|
|||
(documentation '*x* 'variable)
|
||||
3
Task/Variables/Common-Lisp/variables-4.lisp
Normal file
3
Task/Variables/Common-Lisp/variables-4.lisp
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(let ((jenny (list 8 6 7 5 3 0 9))
|
||||
hobo-joe)
|
||||
(apply #'+ jenny))
|
||||
4
Task/Variables/Common-Lisp/variables-5.lisp
Normal file
4
Task/Variables/Common-Lisp/variables-5.lisp
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
(progn
|
||||
(let ((*x* 43))
|
||||
(print *x*)
|
||||
(print *x*))
|
||||
1
Task/Variables/Common-Lisp/variables-6.lisp
Normal file
1
Task/Variables/Common-Lisp/variables-6.lisp
Normal file
|
|
@ -0,0 +1 @@
|
|||
(setf *x* 625)
|
||||
2
Task/Variables/Common-Lisp/variables-7.lisp
Normal file
2
Task/Variables/Common-Lisp/variables-7.lisp
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
(setf *x* 42 *y* (1+ *x*))
|
||||
=>43
|
||||
3
Task/Variables/Common-Lisp/variables-8.lisp
Normal file
3
Task/Variables/Common-Lisp/variables-8.lisp
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(setf *x* 625)
|
||||
(psetf *x* 42 *y* (1+ *x*)
|
||||
=>NIL
|
||||
3
Task/Variables/Common-Lisp/variables-9.lisp
Normal file
3
Task/Variables/Common-Lisp/variables-9.lisp
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(declaim (ftype (function (fixnum) fixnum) frobnicate))
|
||||
(defun frobnicate (x)
|
||||
(+ x 42))
|
||||
Loading…
Add table
Add a link
Reference in a new issue