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
Currently, the attributes for the "modern" Definition syntax seem to be fixed. This means that in some cases one has to fall back on using the "old" style Define. For example,
val _ = PmatchHeuristics.with_classic_heuristic Define `foo = ...`;
could be more nicely written if one could register PmatchHeuristics.with_classic_heuristic as an attribute, resulting in something like
Definition foo_def[with_classic_heuristic]:
foo = ...
End
Currently, the attributes for the "modern" Definition syntax seem to be fixed. This means that in some cases one has to fall back on using the "old" style
Define
. For example,val _ = PmatchHeuristics.with_classic_heuristic Define `foo = ...`;
could be more nicely written if one could register
PmatchHeuristics.with_classic_heuristic
as an attribute, resulting in something like(courtesy of @mn200 on Discord)
The text was updated successfully, but these errors were encountered: