Generic static items?


#1

It would like to generate mutable static items per instantiation of a generic type or a function.
Today a static slot is instantiated once even if defined inside a generic function. Is there any way around this?


#2

After some more consideration, I think I understand the reason for not providing implicitly instantiated global variables (polymorhic constants are fine and will be eventually provided).