Skip to content

Commit

Permalink
[ agda ] Implicit arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
ice1000 committed May 16, 2019
1 parent d46240a commit afd3c1e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions grammar/agda.bnf
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ signature ::= nameDecl+ COLON exp {
pin=2
extends=declaration
}
implementation ::= lhs implBody? whereClause? { extends=declaration }
private implBody ::= EQUAL exp { pin=1 }
implementation ::= lhs eqExp? whereClause? { extends=declaration }
withAbstraction ::= lhs KW_WITH exp barExp* {
pin=2
extends=declaration
Expand Down Expand Up @@ -212,8 +211,9 @@ dotExp ::= DOT exp { pin=1 }
quoteExp ::= quoteKeyword exp { pin=1 }
letExp ::= KW_LET layout KW_IN exp { pin=1 }
doExp ::= KW_DO layout { pin=1 }
implicitExp ::= OPEN_BRACE exp CLOSE_BRACE { pin=2 }
instanceExp ::= OPEN_BRACE OPEN_BRACE exp CLOSE_BRACE CLOSE_BRACE { pin=2 }
implicitExp ::= OPEN_BRACE exp eqExp? CLOSE_BRACE { pin=2 }
private eqExp ::= EQUAL exp { pin=1 }
instanceExp ::= OPEN_BRACE OPEN_BRACE exp eqExp? CLOSE_BRACE CLOSE_BRACE { pin=2 }
string ::= CHR_LIT | STR_LIT {
mixin='org.ice1000.tt.psi.agda.AgdaStringMixin'
extends=exp
Expand Down

0 comments on commit afd3c1e

Please sign in to comment.