| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Draw.Draw
Synopsis
- type PuzzleSol b = (Diagram b, Maybe (Diagram b))
- data Drawers b p s = Drawers {}
- drawers :: (p -> Diagram b) -> ((p, s) -> Diagram b) -> Drawers b p s
- data OutputChoice
- render :: Backend' b => Maybe (CodeDiagrams (Diagram b)) -> PuzzleSol b -> OutputChoice -> Maybe (Diagram b)
- data Unit
- diagramSize :: Backend' b => Diagram b -> (Double, Double)
- toOutputWidth :: Unit -> Double -> Double
Documentation
data OutputChoice Source #
Constructors
| DrawPuzzle | |
| DrawSolution | |
| DrawExample |
Instances
| Show OutputChoice Source # | |
Defined in Draw.Draw Methods showsPrec :: Int -> OutputChoice -> ShowS # show :: OutputChoice -> String # showList :: [OutputChoice] -> ShowS # | |