Following todo formerly in src/GraphQL/Internal/Syntax/AST.hs:
TODO: Just make Node implement HasName.
Declared Node as instance of HasName and wrote implementation of
getname for it.
Because of a cyclic dependency between Name and AST, moved the Name
specific code from GraphQL.Internal.Syntax.AST module into the
GraphQL.Internal.Name module.
Updated imports and exposures in the AST and Name modules described
above.
Simple import and qualified name changes to:
GraphQL/Internal/Syntax/Encoder
GraphQL/Internal/Syntax/Parser
Following todo formerly in src/GraphQL/Internal/Syntax/AST.hs: TODO: Just make Node implement HasName. Declared Node as instance of HasName and wrote implementation of getname for it.
Because of a cyclic dependency between Name and AST, moved the Name specific code from GraphQL.Internal.Syntax.AST module into the GraphQL.Internal.Name module.
Updated imports and exposures in the AST and Name modules described above.
Simple import and qualified name changes to: GraphQL/Internal/Syntax/Encoder GraphQL/Internal/Syntax/Parser