Skip to content

Commit

Permalink
Switch to GHC >= 9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewthad committed Jan 10, 2024
1 parent 70f7c65 commit 6cbfc92
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/Data/Maybe/Unpacked/Numeric/Int64.hs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Data.Maybe.Unpacked.Numeric.Int64
import Prelude hiding (Maybe,maybe)

import GHC.Base (build)
import GHC.Exts (Int#)
import GHC.Exts (Int64#)
import GHC.Int (Int64(I64#))

import GHC.Read (Read(readPrec))
Expand All @@ -35,7 +35,7 @@ import Text.ParserCombinators.ReadPrec (prec, step)

import qualified Prelude as P

data Maybe = Maybe (# (# #) | Int# #)
data Maybe = Maybe (# (# #) | Int64# #)

instance Eq Maybe where
ma == mb =
Expand Down
4 changes: 2 additions & 2 deletions src/Data/Maybe/Unpacked/Numeric/Word128.hs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import Prelude hiding (Maybe,maybe)

import Data.WideWord (Word128(..))
import GHC.Base (build)
import GHC.Exts (Word#)
import GHC.Exts (Word64#)
import GHC.Word (Word64(W64#))

import GHC.Read (Read(readPrec))
Expand All @@ -36,7 +36,7 @@ import Text.ParserCombinators.ReadPrec (prec, step)

import qualified Prelude as P

data Maybe = Maybe (# (# #) | (# Word#, Word# #) #)
data Maybe = Maybe (# (# #) | (# Word64#, Word64# #) #)

instance Eq Maybe where
ma == mb =
Expand Down
4 changes: 2 additions & 2 deletions src/Data/Maybe/Unpacked/Numeric/Word64.hs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Data.Maybe.Unpacked.Numeric.Word64
import Prelude hiding (Maybe,maybe)

import GHC.Base (build)
import GHC.Exts (Word#)
import GHC.Exts (Word64#)
import GHC.Word (Word64(W64#))

import GHC.Read (Read(readPrec))
Expand All @@ -35,7 +35,7 @@ import Text.ParserCombinators.ReadPrec (prec, step)

import qualified Prelude as P

data Maybe = Maybe (# (# #) | Word# #)
data Maybe = Maybe (# (# #) | Word64# #)

instance Eq Maybe where
ma == mb =
Expand Down
4 changes: 2 additions & 2 deletions unpacked-maybe-numeric.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: unpacked-maybe-numeric
version: 0.1.2.1
version: 0.1.3.0
synopsis: maybes of numeric values with fewer indirections
description:
This library provides one `Maybe` type per the usual numeric types:
Expand Down Expand Up @@ -45,7 +45,7 @@ library
Data.Maybe.Unpacked.Numeric.Word128
hs-source-dirs: src
build-depends:
, base >=4.10.1.0 && <5
, base >=4.17.1.0 && <5
, primitive >= 0.6.4
, wide-word >= 0.1.0.8 && < 0.2
, word-compat >= 0.0.4 && <0.1
Expand Down

0 comments on commit 6cbfc92

Please sign in to comment.