Apparently no longer true (possibly due to FlexibleContexts now?)
Chris Pressey
5 years ago
77 | 77 | spaces |
78 | 78 | expr |
79 | 79 | |
80 | -- | |
81 | -- The expression parsing function implements the overall grammar given above. | |
82 | -- Note that we need to give the type of this parser here -- otherwise the | |
83 | -- type inferencer freaks out for some reason. | |
84 | -- | |
85 | ||
86 | expr :: Parser Expr | |
87 | 80 | expr = do |
88 | 81 | spaces |
89 | 82 | r <- (symbol <|> number <|> boolean <|> list <|> stringSugar) |