summaryrefslogtreecommitdiffhomepage
path: root/common-lisp.html.markdown
diff options
context:
space:
mode:
authorZachary Ferguson <zfergus2@users.noreply.github.com>2015-10-06 18:19:20 -0400
committerZachary Ferguson <zfergus2@users.noreply.github.com>2015-10-06 18:19:20 -0400
commitc4f93c0b0ec1fcea11e336b67929b9d6f426765c (patch)
treea97e9f7a56330e45122bb81bb5194f2aefe03fdb /common-lisp.html.markdown
parent29cbff176857653422555650c983afef4a28ae1f (diff)
parent55c80f255202b03c4c3a66ac1d37f880a3782b68 (diff)
Merge remote-tracking branch 'adambard/master'
Conflicts: java.html.markdown
Diffstat (limited to 'common-lisp.html.markdown')
-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..e0597e94 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!