t3-server-0.1.1: tic-tac-toe server
T3.Match
module T3.Match.Types
newtype Seconds Source
Constructors
Instances
runMatch :: Maybe Seconds -> UserInit -> UserInit -> ([Action] -> Board -> Result -> IO ()) -> IO () -> IO () Source
type UserInit = (Callback, IO (Loc, Callback)) Source
type Callback = Step -> IO () Source
type StartCallback = MatchInfo -> Users -> Step -> IO () Source
delay :: Seconds -> IO () Source