Closed PierreR closed 6 years ago
I admit I don't really know why right now (I will try to answer after a good night of sleep), but I believe this is used to enforce the distinction between each
and the other kind of HOF. Looking at the code here I don't see how this is even enforced, so something must be wrong here.
see #200 where hoLambdaDecl
is used to implement the with
statement.
My last commit involves a bunch of renaming for consistency sake. For instance most statement type have the suffix
Declaration
while the inner type has the suffixDecl
.Decl
is meant to imply it does contain position information:Here is a question: I don't see why we have both parsers
dotLambdaDecl
andhoLambdaDecl
. The documentation for lambda is saying that "lambdas can only be used in function calls"; so I was wondering whenhoLambdaDecl
is used.