Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Grid shapes.
Documentation
class Show (Cell a) => GridShape a where Source
The geometry of a grid.
A standard square grid, with cells and vertices indexed by pairs of integers in mathematical coordinates. The bottom-left corner is vertex (0, 0), the bottom-left cell is cell (0, 0).
An edge in a square grid, going up or right from the given cell centre.