on master help sign in
Stop manually deriving `Typeable`
commit0746e3702d1b30c31546f93670ae24218899737d authorMark Karpov <markkarpov92@gmail.com> dateMon 20 Jan 2025, 15:04 (2 years ago) parent272734e
1 file changed+3−4
Network/HTTP/Req.hs+3−4
Network/HTTP/Req.hs+3−4
@@ -716,7 +716,6 @@ data HttpConfig = HttpConfig
716716 -- @since 3.6.0
717717 httpConfigBodyPreviewLength :: forall a. (Num a) => a
718718 }
719− deriving (Typeable)
720719
721720-- | The default value of 'HttpConfig'.
722721--
@@ -1025,7 +1024,7 @@ instance (HttpMethod method) => RequestComponent (Tagged "method" method) where
10251024-- > -- https://%D1%8E%D0%BD%D0%B8%D0%BA%D0%BE%D0%B4.%D1%80%D1%84
10261025data Url (scheme :: Scheme) = Url Scheme (NonEmpty Text)
10271026 -- NOTE The second value is the path segments in reversed order.
1028− deriving (Eq, Ord, Show, Data, Typeable, Generic)
1027+ deriving (Eq, Ord, Show, Data, Generic)
10291028
10301029type role Url nominal
10311030
@@ -2012,7 +2011,7 @@ data HttpException
20122011 | -- | A wrapper with Aeson-produced 'String' describing why decoding
20132012 -- failed
20142013 JsonHttpException String
2015− deriving (Show, Typeable, Generic)
2014+ deriving (Show, Generic)
20162015
20172016instance Exception HttpException
20182017
@@ -2049,4 +2048,4 @@ data Scheme
20492048 Http
20502049 | -- | HTTPS
20512050 Https
2052− deriving (Eq, Ord, Show, Data, Typeable, Generic, TH.Lift)
2051+ deriving (Eq, Ord, Show, Data, Generic, TH.Lift)