Remove lambda_head production
This updates lambda's AST to be more similar to function declarations
@@ -469,13 +469,11 @@ module.exports = grammar({
lambda: $ => seq(
'\\',
- $.lambda_head,
+ repeat1($._a_pattern),
'->',
alias($._expression, $.lambda_body)
),
- lambda_head: $ => repeat1($._a_pattern),
-
prefix_negation: $ => prec.left(seq(
'-',
$._infix_expression
