[racket] Typeof

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Mon Apr 4 11:20:42 EDT 2011

Types are compile-time entities. They don't exist at run-time, so you can't query them at run-time. 

If you mean the type-tags of objects, we don't provide direct access. You can approximate it ... 

-- Matthias







On Apr 4, 2011, at 11:18 AM, José Lopes wrote:

> Hello,
> 
> How do I query the type of an expression?
> 
> Regards,
> José Lopes
> 
> -- 
> José António Branquinho de Oliveira Lopes
> 58612 - MEIC-A
> jose.lopes at ist.utl.pt
> 
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/users




Posted on the users mailing list.