mirror of https://github.com/voidlizard/hbs2
compiles
This commit is contained in:
parent
03a37a870d
commit
edfcaabd0e
|
@ -194,7 +194,7 @@ runPeer :: forall e p bus . (
|
||||||
|
|
||||||
=> Peer e
|
=> Peer e
|
||||||
-> bus
|
-> bus
|
||||||
-> [AnyProtocol e (EngineM e IO)]
|
-> [AnyProtocol (Encoded e) (EngineM e IO)]
|
||||||
-> IO ()
|
-> IO ()
|
||||||
|
|
||||||
|
|
||||||
|
@ -203,7 +203,7 @@ runPeer peer pipe hh = do
|
||||||
resp <- forM hh $ \a@(AnyProtocol { myProtoId = pid }) -> do
|
resp <- forM hh $ \a@(AnyProtocol { myProtoId = pid }) -> do
|
||||||
pure (pid, a)
|
pure (pid, a)
|
||||||
|
|
||||||
let disp = Map.fromList resp :: Map Integer (AnyProtocol e (EngineM e IO))
|
let disp = Map.fromList resp :: Map Integer (AnyProtocol (Encoded e) (EngineM e IO))
|
||||||
|
|
||||||
let env = EngineEnv Nothing peer pipe
|
let env = EngineEnv Nothing peer pipe
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue