by andrewcooke · 15y ago · 0 comments
what i'm really asking is, is there anything "smart" about how the macro works with the type system?
For example, "foreach" macro use compiler API to infer type of collection. This macro generate specialized code for different collection kind (array/list/IEnumerable).