Skip to content

Commit dcadd09

Browse files
authored
Merge pull request #17 from reflex-frp/ghc-9.12
Support GHC 9.12
2 parents 7e8a13c + 657c3f0 commit dcadd09

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

reflex-gadt-api.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ extra-source-files:
1717
ChangeLog.md
1818
Readme.md
1919

20-
tested-with: GHC ==8.6.5 || ==8.8.1 || ==8.10.7
20+
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.8.2 || ==9.10.1
2121

2222
library
2323
hs-source-dirs: src, .
2424
build-depends:
2525
aeson >=1.4.4 && <2.3
2626
, aeson-gadt-th >=0.2.4 && <0.3
27-
, base >=4.12 && <4.21
27+
, base >=4.12 && <4.22
2828
, bytestring >=0.10.8 && <0.13
2929
, constraints-extras >=0.3.0 && <0.5
3030
, containers >=0.6 && <0.8

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)