|
|
|
|
|
Description |
This module defines the HFiaR monad and all the actions you can perform in it
|
|
Synopsis |
|
|
|
|
Monad controls
|
|
|
Generic HFiaRT type
| Instances | |
|
|
|
Specialized HFiaR IO monadic type
|
|
|
Run the monad actions and return the result of them
|
|
Types
|
|
|
Posible tile / player colours
| Constructors | | Instances | |
|
|
|
Posible errors in the HFiaR Monad
| Constructors | GameEnded | | GameNotEnded | | InvalidColumn | | FullColumn | |
| Instances | |
|
|
|
Posible results for the game
| Constructors | | Instances | |
|
|
Actions
|
|
|
|
|
|
Player who's supposed to play the next tile
|
|
|
Current board distribution
|
|
|
If the game ended, returns the result of it
|
|
Produced by Haddock version 2.7.2 |