[plt-scheme] datatype detection?
I have been looking through the documentation, and made searches on the
help desk, to see if there is a function that will detect what type of
data something is, so the reverse of string?, struct? etc.
Since every struct produces a test for itself, ie from htdp
(define-struct plane (...))
(define jet (make-plane ...))
(plane? jet) -> #t
so the structure carries around with it what datatype it is, so is there
a function that can look at this information and return it?
Tia,
rohan