puzzle-draw-0.1.0.0: Creating graphics for pencil puzzles.

Safe HaskellNone
LanguageHaskell98

Diagrams.Puzzles.Draw

Synopsis

Documentation

type RenderPuzzle b p s = (p -> Diagram b R2, (p, s) -> Diagram b R2) Source

draw :: (Backend b R2, Renderable (Path R2) b) => PuzzleSol b -> OutputChoice -> Maybe (Diagram b R2) Source

Optionally render the puzzle, its solution, or a side-by-side example with puzzle and solution.