You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need to figure out the steps to compile this sort of thing.
With @pattern function, we can generate code with the method definition to evaluate the pattern and body function,
then create dispatch code using eval. That is possible since @pattern is invoked at the point of definition, not use.
Is it possible to create dispatch code that knows about the local context, without recompiling at each invocation?
Pattern evaluation is currently mostly used to translate symbols to types in type assertions. Could we create a staged method for the switch dispatch based on what they evaluate to?
Possible syntax:
This should probably create a decision tree directly, without using cooperative dispatch?
The text was updated successfully, but these errors were encountered: