File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,19 +21,19 @@ import Protolude
21
21
import qualified Data.Aeson as Aeson
22
22
import GHC.TypeLits (Symbol , KnownSymbol , symbolVal )
23
23
import Data.Char (isDigit )
24
+ import Data.Text as T (Text )
24
25
import qualified Data.Attoparsec.Text as A
25
26
import Test.QuickCheck (Arbitrary (.. ), elements , listOf )
26
27
import Data.String (IsString (.. ))
27
28
28
- import GraphQL.Internal.Arbitrary (arbitraryText )
29
29
import GraphQL.Internal.Syntax.Tokens (tok )
30
30
31
31
-- * Name
32
32
33
33
-- | A name in GraphQL.
34
34
--
35
35
-- https://facebook.github.io/graphql/#sec-Names
36
- newtype Name = Name { unName :: Text } deriving (Eq , Ord , Show )
36
+ newtype Name = Name { unName :: T. Text } deriving (Eq , Ord , Show )
37
37
38
38
-- | Create a 'Name', panicking if the given text is invalid.
39
39
--
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ module GraphQL.Internal.Syntax.AST
48
48
49
49
import Protolude
50
50
51
- import Data.String (IsString (.. ))
51
+ -- import Data.String (IsString(..))
52
52
import Test.QuickCheck (Arbitrary (.. ), elements , listOf , oneof )
53
53
54
54
import GraphQL.Internal.Arbitrary (arbitraryText )
You can’t perform that action at this time.
0 commit comments