Safe Haskell | None |
---|---|
Language | Haskell98 |
Data types and parsing for pyramid puzzles.
- data Row = R {}
- newtype Pyramid = Pyr {}
- newtype PyramidSol = PyramidSol [[Int]]
- data KropkiRow = KR {}
- newtype RowKropkiPyramid = KP {}
- mergepyramidsol :: Pyramid -> PyramidSol -> Pyramid
- mergekpyramidsol :: RowKropkiPyramid -> PyramidSol -> RowKropkiPyramid
- plainpyramid :: RowKropkiPyramid -> Pyramid
- psize :: Pyramid -> Int
Documentation
newtype RowKropkiPyramid Source
mergepyramidsol :: Pyramid -> PyramidSol -> Pyramid Source
Merge a solution into a pyramid.
mergekpyramidsol :: RowKropkiPyramid -> PyramidSol -> RowKropkiPyramid Source
Merge a solution into a kropki pyramid.
plainpyramid :: RowKropkiPyramid -> Pyramid Source
Forget the kropki dots.