tcr / corollary

Cross-compiler from Haskell to Rust, plus parser-haskell.
73 stars 5 forks source link

Lambda should parse ExprSpan as a body #61

Open tcr opened 7 years ago

tcr commented 7 years ago

Because Lambda is treated as an Expr, and the pattern for several exprs is Expr+, it would be ambiguous to accept ExprSpan as a body. A result of this is the format \lt -> let ... won't work.

tcr commented 7 years ago

Fixed this, hackily.