haskell-graphql / graphql-api

Write type-safe GraphQL services in Haskell
BSD 3-Clause "New" or "Revised" License
406 stars 35 forks source link

Move syntax modules to Syntax sub-package #83

Closed jml closed 7 years ago

jml commented 7 years ago

Includes changes in #82, so maybe review & merge that first.

I've been meaning to do this for some time. The syntax modules are all pretty self-contained, and putting them in a subdirectory means that ls -1 src/GraphQL/Internal shows a more meaningful list of what we're doing.

The big exception is Name-related stuff, which gets used everywhere. Because it's such an important concept, I've extracted it to its own internal module, GraphQL.Internal.Name.