Commit Graph

6 Commits

Author SHA1 Message Date
Danny Navarro
d88acf3d0e Refine numeric types 2015-09-18 15:02:51 +02:00
Danny Navarro
c9c1137ceb Garden 2015-09-18 14:55:59 +02:00
Danny Navarro
62adfd89cd Several improvements to the parser
- Add token combinator to simplify whitespace handling.
- Simplify whiteSpace parsers.
- Add `optempty` to handle pure mempty cases. `empty /= pure mempty`.
- Use `between` combinators for brackets, braces and parens.

This also includes small adjustments to the AST.
2015-09-14 12:15:04 +02:00
Danny Navarro
44a2ff4765 Minor adjustments in AST for easier parsing
Also `Maybe` wrappers removed. I don't think there needs to be a special
case for empty values vs no values at all.
2015-09-13 13:49:11 +02:00
Danny Navarro
97b99eb448 Add missing OperationDefinition Name 2015-09-12 15:44:30 +02:00
Danny Navarro
0f673b9b4d Rename module Data.GraphQL -> Data.GraphQL.AST 2015-09-12 15:16:28 +02:00