Skip to content

Commit

Permalink
tmp: workaround failing OddWord
Browse files Browse the repository at this point in the history
  • Loading branch information
Anviking committed Nov 21, 2022
1 parent 135c5e8 commit 6dca4e5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion lib/text-class/text-class.cabal
Expand Up @@ -35,7 +35,6 @@ library
, text
, time
, hspec
, OddWord
, QuickCheck
hs-source-dirs:
src
Expand Down
3 changes: 0 additions & 3 deletions lib/wallet/cardano-wallet.cabal
Expand Up @@ -136,7 +136,6 @@ library
, network-uri
, nothunks
, ntp-client
, OddWord
, optparse-applicative
, ouroboros-consensus
, ouroboros-consensus-byron
Expand Down Expand Up @@ -449,7 +448,6 @@ library cardano-wallet-api-http
, network
, network-uri
, ntp-client
, OddWord
, optparse-applicative
, ouroboros-network
, quiet
Expand Down Expand Up @@ -774,7 +772,6 @@ test-suite unit
, network
, network-uri
, nothunks
, OddWord
, openapi3 ==3.2.2
, optparse-applicative
, ouroboros-consensus
Expand Down
4 changes: 1 addition & 3 deletions lib/wallet/src/System/Random/StdGenSeed.hs
Expand Up @@ -28,8 +28,6 @@ import Data.Bits
( (.|.) )
import Data.Word
( Word64 )
import Data.Word.Odd
( Lit, OddWord )
import GHC.Generics
( Generic )
import Quiet
Expand Down Expand Up @@ -61,7 +59,7 @@ newtype StdGenSeed = StdGenSeed
deriving (Eq, Bounded, Generic, Ord)
deriving Show via (Quiet StdGenSeed)

type Word127 = OddWord Integer (Lit 127)
type Word127 = Word64 -- FIXME

-- | Creates a new 'StdGenSeed' from within a random monadic context.
--
Expand Down

0 comments on commit 6dca4e5

Please sign in to comment.