Skip to content

Commit 657c3f0

Browse files
committed
Fix warning: deriving-typeable
1 parent 9af5a0d commit 657c3f0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Reflex/Dom/GadtApi/WebSocket.hs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import Data.Constraint.Extras
2222
import Data.Aeson
2323
import Data.Default
2424
import qualified Data.Text as T
25-
import Data.Typeable
2625
import GHC.Generics
2726
import qualified Data.Map as Map
2827
import Data.Some
@@ -34,14 +33,14 @@ import Reflex.Dom.WebSocket
3433

3534
-- | A request tagged with an identifier
3635
data TaggedRequest = TaggedRequest Int Value
37-
deriving (Typeable, Generic)
36+
deriving Generic
3837

3938
instance FromJSON TaggedRequest
4039
instance ToJSON TaggedRequest
4140

4241
-- | A response tagged with an identifier matching the one in the 'TaggedRequest'. The identifier is the first argument.
4342
data TaggedResponse = TaggedResponse Int Value
44-
deriving (Typeable, Generic)
43+
deriving Generic
4544

4645
instance FromJSON TaggedResponse
4746
instance ToJSON TaggedResponse

0 commit comments

Comments
 (0)