[plt-scheme] HTML: how to get structure name?
First I would ask what you want to do. Getting a symbol to indicate the
struct type doesn't looks to be the best solution to be.
But
(vector-ref (struct->vector a-input) 0)
will give you pretty much what you want, and it is easy to remove the
`struct:' prefix from a symbol if have to.
Chongkai
Veer wrote:
> Hello,
>
> Is it possible to get the name of html structures as symbol?
> For example :
>
> (require html)
> (define a-input (make-input empty))
>
> >From a-input i need to get symbol 'input .
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>