feat: add notation for disabling implicit lambda feature
This notation will be useful for writing macros where implicit lambdas are not desired.
This commit is contained in:
parent
d2910337af
commit
abf78e162c
1 changed files with 1 additions and 0 deletions
|
|
@ -191,6 +191,7 @@ def matchAltsWhereDecls := leading_parser matchAlts >> optional whereDecls
|
|||
@[builtinTermParser] def typeOf := leading_parser "typeOf% " >> termParser maxPrec
|
||||
@[builtinTermParser] def ensureTypeOf := leading_parser "ensureTypeOf% " >> termParser maxPrec >> strLit >> termParser
|
||||
@[builtinTermParser] def ensureExpectedType := leading_parser "ensureExpectedType% " >> strLit >> termParser maxPrec
|
||||
@[builtinTermParser] def noImplicitLambda := leading_parser "noImplicitLambda% " >> termParser maxPrec
|
||||
|
||||
def namedArgument := leading_parser atomic ("(" >> ident >> " := ") >> termParser >> ")"
|
||||
def ellipsis := leading_parser ".."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue