Data.TicTacToe.Player
Contents
Description
A player is either player 1 or player 2 (isomorphic to Bool).
Documentation
Reduction
Arguments
| :: x | If player 1. |
| -> x | If player 2. |
| -> Player | The player to fold. |
| -> x |
Folds a player.
Construction
Decisions
Combinator
Switches a player from player 1 to player 2 or vice versa.