[plt-scheme] (typeof obj)

From: Robert Nikander (nikander at nc.rr.com)
Date: Sun Jun 10 12:28:47 EDT 2007

Is there a way to get a type-name symbol or type object for any  
scheme object?

(type 1) => 'integer

or

(type 1) => #<type integer>
(type (type x)) => #<type type>


Rob


Posted on the users mailing list.