We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 479f0d0 commit fb5f16fCopy full SHA for fb5f16f
1 file changed
network-mux/src/Network/Mux/Channel.hs
@@ -87,7 +87,9 @@ data Channel m a = Channel {
87
recv :: m (Maybe (Reception a))
88
}
89
90
-data Reception a = MkReception !(IntMap Time) !a
+data Reception a = MkReception { receivalTimes :: !(IntMap Time)
91
+ , received :: !a
92
+ }
93
deriving (Foldable, Functor, Traversable)
94
95
-- | Given an isomorphism between @a@ and @b@ (in Kleisli category), transform
0 commit comments