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
The following code errors in code production when I try to produce a pattern match against the constructor "_plus" corresponding to the built-in interpretation of "A + B".
w: world.
term: string -> t -> rel @ w. // T
nonterm: t -> t -> t -> rel @ w. // NT
parse: t -> nat -> nat -> rel @ w. // PROD
tok: nat -> string -> rel @ w. // IN
// Generic rules of parsing
term S T, tok I S -> parse T I I.
nonterm X Y Z, parse Y I J, parse Z (J+1) K -> parse X I K.
The text was updated successfully, but these errors were encountered:
…hard to pattern match against an addition, when such an addition is in an input position, we shouldn't be worried about not being able to pattern match against it!
The following code errors in code production when I try to produce a pattern match against the constructor "_plus" corresponding to the built-in interpretation of "A + B".
The text was updated successfully, but these errors were encountered: