Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
12
Task/Comments/Common-Lisp/comments-1.lisp
Normal file
12
Task/Comments/Common-Lisp/comments-1.lisp
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
;;;; This code implements the foo and bar functions
|
||||
|
||||
;;; The foo function calls bar on the first argument and multiplies the result by the second.
|
||||
;;; The arguments are two integers
|
||||
(defun foo (a b)
|
||||
;; Call bar and multiply
|
||||
(* (bar a) ; Calling bar
|
||||
b))
|
||||
|
||||
;;; The bar function simply adds 3 to the argument
|
||||
(defun bar (n)
|
||||
(+ n 3))
|
||||
7
Task/Comments/Common-Lisp/comments-2.lisp
Normal file
7
Task/Comments/Common-Lisp/comments-2.lisp
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
(defun bar (n)
|
||||
"Add 3 to the argument."
|
||||
(+ n 3))
|
||||
|
||||
(defclass button (widget)
|
||||
(label action)
|
||||
(:documentation "This is a push-button widget."))
|
||||
Loading…
Add table
Add a link
Reference in a new issue