on develop help sign in
Dummy serialisation types
f594d47Brendan Hay
core/src/Network/Google/Prelude.hs+6−6
@@ -55,14 +55,14 @@ _Default = iso f Just
55 f (Just x) = x
55 f (Just x) = x
56 f Nothing = mempty
56 f Nothing = mempty
57
57
58−data Time = Time Text
58+newtype Time = Time Text
59− deriving (Eq, Ord, Show, Read, Generic, Data, Typeable, ToText, FromText)
59+ deriving (Eq, Ord, Show, Read, Generic, Newtype, Typeable, ToText, FromText)
60
60
61−data Date = Date Text
61+newtype Date = Date Text
62− deriving (Eq, Ord, Show, Read, Generic, Data, Typeable, ToText, FromText)
62+ deriving (Eq, Ord, Show, Read, Generic, Newtype, Typeable, ToText, FromText)
63
63
64−data DateTime = DateTime Text
64+newtype DateTime = DateTime Text
65− deriving (Eq, Ord, Show, Read, Generic, Data, Typeable, ToText, FromText)
65+ deriving (Eq, Ord, Show, Read, Generic, Newtype, Typeable, ToText, FromText)
66
66
67data AltJSON = AltJSON
67data AltJSON = AltJSON
68 deriving (Eq, Ord, Show, Read, Generic, Data, Typeable)
68 deriving (Eq, Ord, Show, Read, Generic, Data, Typeable)