Skip to content

Commit

Permalink
Fix some more warnings in 9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsd committed May 2, 2023
1 parent 9410ee6 commit 61939a4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions distributed-process-tests/distributed-process-tests.cabal
Expand Up @@ -66,7 +66,7 @@ Test-Suite TestCHInMemory
network-transport-inmemory >= 0.5,
test-framework >= 0.6 && < 0.9
Extensions: CPP
ghc-options: -Wall -threaded -eventlog -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
HS-Source-Dirs: tests

Test-Suite TestCHInTCP
Expand All @@ -83,7 +83,7 @@ Test-Suite TestCHInTCP
else
Buildable: False
Extensions: CPP
ghc-options: -Wall -threaded -eventlog -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
HS-Source-Dirs: tests


Expand Down Expand Up @@ -112,7 +112,7 @@ Test-Suite TestStats
network-transport-inmemory >= 0.5,
test-framework >= 0.6 && < 0.9
Extensions: CPP
ghc-options: -Wall -eventlog -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
HS-Source-Dirs: tests

Test-Suite TestMxInMemory
Expand Down Expand Up @@ -140,7 +140,7 @@ Test-Suite TestTracingInMemory
network-transport-inmemory >= 0.5,
test-framework >= 0.6 && < 0.9
Extensions: CPP
ghc-options: -eventlog -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
ghc-options: -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
HS-Source-Dirs: tests

Test-Suite TestMxInTCP
Expand Down
4 changes: 3 additions & 1 deletion src/Control/Distributed/Process/Internal/Closure/Explicit.hs
Expand Up @@ -7,6 +7,7 @@
, KindSignatures
, GADTs
, EmptyDataDecls
, TypeOperators
, DeriveDataTypeable #-}
module Control.Distributed.Process.Internal.Closure.Explicit
(
Expand All @@ -29,6 +30,7 @@ import Data.Rank1Dynamic
import Data.Rank1Typeable
import Data.Binary(encode,put,get,Binary)
import qualified Data.ByteString.Lazy as B
import Data.Kind (Type)

-- | A RemoteRegister is a trasformer on a RemoteTable to register additional static values.
type RemoteRegister = RemoteTable -> RemoteTable
Expand Down Expand Up @@ -118,7 +120,7 @@ instance Curry (b -> c) r => Curry ((a,b) -> c) (a -> r) where
-- This generic uncurry courtesy Andrea Vezzosi
data HTrue
data HFalse
data Fun :: * -> * -> * -> * where
data Fun :: Type -> Type -> Type -> Type where
Done :: Fun EndOfTuple r r
Moar :: Fun xs f r -> Fun (x,xs) (x -> f) r

Expand Down

0 comments on commit 61939a4

Please sign in to comment.