TicTacToe - 0.1.0

Logic.Square

Definitions

type SquareSource#

A square is each of the holes in a board

Constructors

| empty : NatSquare

An empty square has a Nat that uniquely identifies it

| occupied : SymbolSquare

An occupied square has a Symbol in it

==Square : SquareSquareBoolSource#

Equality for Squares

showSquare : SquareStringSource#

Textual representation of a Square