Without derailing from the main topic, with all these new keywords being pitched I think the context is growing too fast. Would it make sense to generalize that into a special StaticContext<T>
type where the generic parameter allows the users to specify the subset of all #keywords
, so that the context value isn't exploding in size where not appropriate? This will also reduce the number of parameters a function must have to obtain such static context compared to current status quo.
There was a similar topic, but instead of smashing everything inside one type it would be far better if we could specify a subset of static information we want to obtain: