feat: add notation for helper elaboration function
This similar to `binrel%` but for binary operators. See issue #382
This commit is contained in:
parent
ee6a9e74e8
commit
f8ac5d25dd
1 changed files with 2 additions and 1 deletions
|
|
@ -188,7 +188,8 @@ def matchAltsWhereDecls := leading_parser matchAlts >> optional whereDecls
|
|||
|
||||
@[builtinTermParser] def noindex := leading_parser "no_index " >> termParser maxPrec
|
||||
|
||||
@[builtinTermParser] def binrel := leading_parser "binrel% " >> ident >> ppSpace >> termParser maxPrec >> termParser maxPrec
|
||||
@[builtinTermParser] def binrel := leading_parser "binrel% " >> ident >> ppSpace >> termParser maxPrec >> termParser maxPrec
|
||||
@[builtinTermParser] def binop := leading_parser "binop% " >> ident >> ppSpace >> termParser maxPrec >> termParser maxPrec
|
||||
|
||||
@[builtinTermParser] def forInMacro := leading_parser "forIn% " >> termParser maxPrec >> termParser maxPrec >> termParser maxPrec
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue