Re:Distributed Systems in Haskell
by navaati on Monday June 13, 2016 @05:50AM
(#11892651)
Shouldn't the type of the monadic serverStep be "Message -> m ()" to match the type of the explicit "serverStep :: Config -> State -> Message -> (State, [Message])" ?
Aka, serverStep isn't a monadic object, it's a Kleisli arrow.
[ Parent
| on HN ]