diff options
author | Pushkar Sharma <thepsguy@icloud.com> | 2015-10-04 21:24:57 +0530 |
---|---|---|
committer | Pushkar Sharma <thepsguy@icloud.com> | 2015-10-04 21:24:57 +0530 |
commit | fbd07f268cd6e64c65912ccc27f2ec9e222ec536 (patch) | |
tree | c420c9d7acf215ebe493fa265a15fff55e677134 | |
parent | 9b46fe7e57bcf63785b67cdaffc49ff0d47d7476 (diff) |
Issue #1157
Comment explaining '-p', in line 178.
-rw-r--r-- | common-lisp.html.markdown | 3 |
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! |