File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,14 @@ module Chan.Mux (
1515 newConnectionBundleTCP ,
1616) where
1717
18- import Chan.Core
19- import Chan.TCP
18+ import Chan.Core (Chan (.. ))
19+ import Chan.TCP (
20+ LabelTcpDir ,
21+ MessageSize (.. ),
22+ TcpConnProps ,
23+ TcpEvent ,
24+ newConnectionTCP ,
25+ )
2026import qualified Control.Category as Cat
2127import Control.Concurrent.Class.MonadMVar (
2228 MonadMVar (MVar , newMVar , withMVar ),
@@ -60,8 +66,8 @@ instance Cat.Category ToFromMuxMsg where
6066 id = ToFromMuxMsg id id
6167 (.) (ToFromMuxMsg f f') (ToFromMuxMsg g g') = ToFromMuxMsg (g . f) (f' . g')
6268
63- dynToFromMuxMsg :: Typeable a => ToFromMuxMsg Dynamic a
64- dynToFromMuxMsg = ToFromMuxMsg toDyn (fromJust . fromDynamic)
69+ -- dynToFromMuxMsg :: Typeable a => ToFromMuxMsg Dynamic a
70+ -- dynToFromMuxMsg = ToFromMuxMsg toDyn (fromJust . fromDynamic)
6571
6672data BearerMsg a = BearerMsg ! Int a
6773
You can’t perform that action at this time.
0 commit comments