forked from GitHub/gf-core
New let and where syntax.
This commit is contained in:
@@ -169,6 +169,8 @@ ETType. Exp ::= Exp1 "=>" Exp ; -- these are thus right associative
|
||||
EConcat. Exp ::= Exp1 "++" Exp ;
|
||||
EGlue. Exp ::= Exp1 "+" Exp ;
|
||||
ELet. Exp ::= "let" "{" [LocDef] "}" "in" Exp ;
|
||||
ELetb. Exp ::= "let" [LocDef] "in" Exp ;
|
||||
EWhere. Exp ::= Exp1 "where" "{" [LocDef] "}" ;
|
||||
EEqs. Exp ::= "fn" "{" [Equation] "}" ;
|
||||
|
||||
coercions Exp 4 ;
|
||||
|
||||
@@ -1 +1 @@
|
||||
module Today where today = "Mon Nov 10 09:43:09 CET 2003"
|
||||
module Today where today = "Mon Nov 10 09:55:30 CET 2003"
|
||||
|
||||
Reference in New Issue
Block a user