chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] retrieving a structure's symbol name


From: Marco Maggi
Subject: [Chicken-users] retrieving a structure's symbol name
Date: Wed, 24 Jul 2019 15:49:13 +0200

Ciao,

  I know  that it is  dirty, but is it  possible to retrieve  the symbol
name of  a structure  from the  block object?  If  I create  a structure
with:

   (define (make-it)
     (##sys#make-structure 'spiffy))

   (define O
     (make-it))

can  I extract  "spiffy"  from the  structure object  bound  to "O"?   I
searched "library.scm" in CHICKEN's 5.1.0 source without success.

TIA
-- 
Marco Maggi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]