Module
Sudoku.Types
- Package
- purescript-sudoku
- Repository
- sanrokugomaato/purescript-sudoku
The collection of types used in Sudoku.
#Cell Source
data Cell a
A type representing each cell on a Sudoku board. The first Int
in the
Cell
constructor means an index of a cell. The type parameter a
means
content of a cell, which is usually Int
for deterministic boards or
Maybe Int
for nondeterministic ones.
Constructors
Instances
#Difficulty Source
type Difficulty = Int
A type alias for Int
representing difficulty of a game. Specifically, it
means the number of holes to fill in.
- Modules
- Sudoku
- Sudoku.
Types - Sudoku.
Util