@@ -17,13 +17,13 @@ instance Arbitrary ValidIdent where
1717 arbitrary = ValidIdent <$> ((:) <$> lowerAlpha <*> (listOf alphaNumUnderPrime))
1818
1919
20−newtype StringValue = StringValue String deriving (Eq, Show)
20+newtype StringLiteral = StringLiteral String deriving (Eq, Show)
2121
22−instance ShowQ StringValue where
23− showQ (StringValue v) = v
22+instance ShowQ StringLiteral where
23+ showQ (StringLiteral v) = v
2424
25−instance Arbitrary StringValue where
26− arbitrary = StringValue <$> escape <$> arbitrary
25+instance Arbitrary StringLiteral where
26+ arbitrary = StringLiteral <$> (\x -> "\"" ++ x ++ "\"") <$> escape <$> arbitrary
2727
2828
2929newtype InvalidIdentChar = InvalidIdentChar Char deriving (Eq, Show)