Nooo, I'm not THAT silly to not be able to code sth like that if I needed to, 
you know?  Two problems with your solution:

  1. You do NOT actually get the constant, you just use it's AST to generate 
code with it. I need to access the constant in the macro itself (for example 
iterate over elements from a constant array).
  2. You provided types explicitly. I need to be able to handle any constant, 
whatever it is (in my case: any iterable). I guess the solution should utilize 
a separate generic proc (I can't really imagine the macro itself to use any 
type).


Reply via email to