turn-loop-0.1.0: Manage multiple turned-based sessions

Safe HaskellNone
LanguageHaskell2010

TurnLoop.Types

Documentation

type Many rep a = rep -> a Source #

data Step state terminal Source #

Constructors

Step 

Fields

Instances

(Eq terminal, Eq state) => Eq (Step state terminal) Source # 

Methods

(==) :: Step state terminal -> Step state terminal -> Bool #

(/=) :: Step state terminal -> Step state terminal -> Bool #

(Show terminal, Show state) => Show (Step state terminal) Source # 

Methods

showsPrec :: Int -> Step state terminal -> ShowS #

show :: Step state terminal -> String #

showList :: [Step state terminal] -> ShowS #

data Result sessionId rep userId state extra Source #

Constructors

Result 

Fields

data Starter sessionId rep userId Source #

Constructors

Starter 

Fields

data Registry userId user m Source #

Constructors

Registry 

Fields

data Lobby sessionId rep userId m Source #

Constructors

Lobby 

Fields

data SessionEntry rep input state terminal m Source #

Constructors

SessionEntry 

Fields

data Session input state terminal Source #

Constructors

Session 

Fields

data SessionRecord userId rep input state terminal m Source #

Constructors

SessionRecord 

Fields

data LabeledSession userId input state terminal Source #

Constructors

LabeledSession 

Fields

data Sessions sessionId userId rep input state terminal m Source #

Constructors

Sessions 

Fields

data Results sessionId rep userId state extra m Source #

Constructors

Results 

Fields

data Thread m Source #

Constructors

Thread 

Fields

data Components sessionId rep userId user input state extra terminal m Source #

Constructors

Components 

Fields