on master help sign in
Turn unary negation back on.
18adffcEvan Czaplicki
compiler/Parse/Expression.hs+1−1
@@ -126,7 +126,7 @@ recordTerm = brackets $ choice [ misc, addLocation record ]
126
126
127
127
128term :: IParser (LExpr t v)
128term :: IParser (LExpr t v)
129−term = addLocation (choice [ Literal <$> literal, listTerm, accessor ])
129+term = addLocation (choice [ Literal <$> literal, listTerm, accessor, negative ])
130 <|> accessible (addLocation varTerm <|> parensTerm <|> recordTerm)
130 <|> accessible (addLocation varTerm <|> parensTerm <|> recordTerm)
131 <?> "basic term (4, x, 'c', etc.)"
131 <?> "basic term (4, x, 'c', etc.)"
132
132