deploy: ebd4cc0010
This commit is contained in:
25
node_modules/shiki/samples/lisp.sample
generated
vendored
25
node_modules/shiki/samples/lisp.sample
generated
vendored
@@ -1,25 +0,0 @@
|
||||
;;; testing.lisp
|
||||
;;; by Philip Fong
|
||||
;;;
|
||||
;;; Introductory comments are preceded by ";;;"
|
||||
;;; Function headers are preceded by ";;"
|
||||
;;; Inline comments are introduced by ";"
|
||||
;;;
|
||||
|
||||
;;
|
||||
;; Triple the value of a number
|
||||
;;
|
||||
|
||||
(defun triple (X)
|
||||
"Compute three times X." ; Inline comments can
|
||||
(* 3 X)) ; be placed here.
|
||||
|
||||
;;
|
||||
;; Negate the sign of a number
|
||||
;;
|
||||
|
||||
(defun negate (X)
|
||||
"Negate the value of X." ; This is a documentation string.
|
||||
(- X))
|
||||
|
||||
;;; From https://www2.cs.sfu.ca/CourseCentral/310/pwfong/Lisp/1/tutorial1.html
|
||||
Reference in New Issue
Block a user