feat: add helper macro forIn!
We are going to write a custom elaborator for `forIn` applications.
This commit is contained in:
parent
eb510c16c3
commit
e3c3fc3165
1 changed files with 2 additions and 0 deletions
|
|
@ -188,6 +188,8 @@ def matchAltsWhereDecls := parser! matchAlts >> optional whereDecls
|
|||
|
||||
@[builtinTermParser] def binrel := parser! "binrel! " >> ident >> ppSpace >> termParser maxPrec >> termParser maxPrec
|
||||
|
||||
@[builtinTermParser] def forInMacro := parser! "forIn! " >> termParser maxPrec >> termParser maxPrec >> termParser maxPrec
|
||||
|
||||
@[builtinTermParser] def typeOf := parser! "typeOf! " >> termParser maxPrec
|
||||
@[builtinTermParser] def ensureTypeOf := parser! "ensureTypeOf! " >> termParser maxPrec >> strLit >> termParser
|
||||
@[builtinTermParser] def ensureExpectedType := parser! "ensureExpectedType! " >> strLit >> termParser maxPrec
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue