diff options
author | ven <vendethiel@hotmail.fr> | 2015-10-04 21:09:31 +0200 |
---|---|---|
committer | ven <vendethiel@hotmail.fr> | 2015-10-04 21:09:31 +0200 |
commit | 3c4afff4cc29215d489c4212afa460ab1b5a78b0 (patch) | |
tree | 1f8864d9669316f1e82a653d0e3e7741ae165863 | |
parent | a07e94471412edbf7b5a95bfd81fa732cb2e66d7 (diff) | |
parent | 68fc9b5c1f71adcbbbd53711e9a5692a8372b8cf (diff) |
Merge pull request #1336 from thePsguy/patch-3
{common-lisp}Issue #1157 comment for '-p'
-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..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! |