Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit abb8c85

Browse files
committed
fixup! Introduce internal module.
1 parent a89b0ba commit abb8c85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Network/Transport/InMemory.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ import Network.Transport.InMemory.Debug
1616
-- Only a single transport should be created per Haskell process
1717
-- (threads can, and should, create their own endpoints though).
1818
createTransport :: IO Transport
19-
createTransport = fst <$> createTransportExposeInternals
19+
createTransport = fmap fst createTransportExposeInternals
2020

src/Network/Transport/InMemory/Internal.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import qualified Data.ByteString.Char8 as BSC (pack)
4343
import Data.Accessor (Accessor, accessor, (^.), (^=), (^:))
4444
import qualified Data.Accessor.Container as DAC (mapMaybe)
4545
import Data.Typeable (Typeable)
46-
import Prelude
46+
import Prelude hiding (foldr)
4747

4848
data TransportState
4949
= TransportValid {-# UNPACK #-} !ValidTransportState

0 commit comments

Comments
 (0)