Reuse common types from AST.Core

This commit is contained in:
2019-07-18 05:10:02 +02:00
parent 74801b0483
commit bc6a7dddd1
5 changed files with 26 additions and 53 deletions

View File

@ -1,6 +1,7 @@
-- | This is the AST meant to be executed.
module Language.GraphQL.AST.Core
( Argument(..)
( Alias
, Argument(..)
, Document
, Field(..)
, Name
@ -15,6 +16,7 @@ import Data.String
import Data.Text (Text)
-- | Name
type Name = Text
type Document = NonEmpty Operation