git @ Cat's Eye Technologies Robin / 6304acc
Apparently no longer true (possibly due to FlexibleContexts now?) Chris Pressey 5 years ago
1 changed file(s) with 0 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
7777 spaces
7878 expr
7979
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
8780 expr = do
8881 spaces
8982 r <- (symbol <|> number <|> boolean <|> list <|> stringSugar)