| | |
lisp- type checking?
Please support our Legacy and Other Languages advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Apr 2008
Posts: 1
Reputation:
Solved Threads: 0
hi, i was wondering if there are functions in lisp that lets me check if an object or defstruct object is certtain defstruct object
as if
if i have
(defstruct (firstthing (:conc-name nil)) first second)
(defstruct (somethingelse (:conc-name nil)) blah blah)
and i instanciated
(setf thing (make-firstthing :first '(a) :second '(b)))
how do i check if thing is an instance of firstthing or somethingelse?
as if
if i have
(defstruct (firstthing (:conc-name nil)) first second)
(defstruct (somethingelse (:conc-name nil)) blah blah)
and i instanciated
(setf thing (make-firstthing :first '(a) :second '(b)))
how do i check if thing is an instance of firstthing or somethingelse?
![]() |
Similar Threads
- Lisp Programming! (Perl)
Other Threads in the Legacy and Other Languages Forum
- Previous Thread: Visual C++ V6 and Fortran Developer Studio V6
- Next Thread: drscheme caar function
| Thread Tools | Search this Thread |
Tag cloud for Legacy and Other Languages





