Skip to content

Commit

Permalink
Merge pull request #17 from reflex-frp/ghc-9.12
Browse files Browse the repository at this point in the history
Support GHC 9.12
  • Loading branch information
alexfmpe authored Jan 23, 2025
2 parents 7e8a13c + 657c3f0 commit dcadd09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions reflex-gadt-api.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ extra-source-files:
ChangeLog.md
Readme.md

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

library
hs-source-dirs: src, .
build-depends:
aeson >=1.4.4 && <2.3
, aeson-gadt-th >=0.2.4 && <0.3
, base >=4.12 && <4.21
, base >=4.12 && <4.22
, bytestring >=0.10.8 && <0.13
, constraints-extras >=0.3.0 && <0.5
, containers >=0.6 && <0.8
Expand Down
5 changes: 2 additions & 3 deletions src/Reflex/Dom/GadtApi/WebSocket.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import Data.Constraint.Extras
import Data.Aeson
import Data.Default
import qualified Data.Text as T
import Data.Typeable
import GHC.Generics
import qualified Data.Map as Map
import Data.Some
Expand All @@ -34,14 +33,14 @@ import Reflex.Dom.WebSocket

-- | A request tagged with an identifier
data TaggedRequest = TaggedRequest Int Value
deriving (Typeable, Generic)
deriving Generic

instance FromJSON TaggedRequest
instance ToJSON TaggedRequest

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

instance FromJSON TaggedResponse
instance ToJSON TaggedResponse
Expand Down

0 comments on commit dcadd09

Please sign in to comment.