summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPushkar Sharma <thepsguy@icloud.com>2015-10-04 21:24:57 +0530
committerPushkar Sharma <thepsguy@icloud.com>2015-10-04 21:24:57 +0530
commitfbd07f268cd6e64c65912ccc27f2ec9e222ec536 (patch)
treec420c9d7acf215ebe493fa265a15fff55e677134
parent9b46fe7e57bcf63785b67cdaffc49ff0d47d7476 (diff)
Issue #1157
Comment explaining '-p', in line 178.
-rw-r--r--common-lisp.html.markdown3
1 files changed, 2 insertions, 1 deletions
diff --git a/common-lisp.html.markdown b/common-lisp.html.markdown
index f9f64d68..e3bb61cf 100644
--- a/common-lisp.html.markdown
+++ b/common-lisp.html.markdown
@@ -175,7 +175,8 @@ nil ; for false - and the empty list
:age 5))
*rover* ; => #S(DOG :NAME "rover" :BREED "collie" :AGE 5)
-(dog-p *rover*) ; => t ;; ewww)
+(dog-p *rover*) ; => true #| -p signifies "predicate". It's used to
+ check if *rover* is an instance of dog.|#
(dog-name *rover*) ; => "rover"
;; Dog-p, make-dog, and dog-name are all created by defstruct!