[plt-scheme] struct-type-info

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Dec 1 11:05:24 EST 2006

On Dec  1, Matt Jadud wrote:
> Hi all,
> 
> Given a structure instance 'a-foo':
> 
> (define-struct foo (a b))
> (define a-foo (make-foo 3 5))
> 
> Is there any way, given an instance of a foo (a 'make-foo') to get at 
> the struct-type-info? Or, do I need to define my own structure using 
> make-structure-type and hide that information somewhere?

Look for `struct-info'.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.