Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
ServerState
Documentation
data ServerState Source #
Instances
Show ServerState Source # | |
Defined in ServerState Methods showsPrec :: Int -> ServerState -> ShowS # show :: ServerState -> String # showList :: [ServerState] -> ShowS # | |
Eq ServerState Source # | |
Defined in ServerState |
addToQueue :: Int -> Inmess -> ServerState -> ServerState Source #
serverStep :: ServerState -> (ServerState, [Outmess]) Source #
simulationStep :: ServerState -> Inmess -> (ServerState, [Outmess]) Source #
serverSize :: ServerState -> Int Source #
shortestQueue :: ServerState -> Int Source #