wumpus-basic-0.4.0: Common drawing utilities built on wumpus-core.Source codeContentsIndex
Wumpus.Basic.Monads.TurtleMonad
PortabilityGHC
Stabilityunstable
Maintainerstephen.tetley@gmail.com
Description

Turtle monad and monad transformer.

The Turtle monad embodies the LOGO style of imperative drawing - sending commands to update the a cursor.

While Wumpus generally aims for a more compositional, "coordinate-free" style of drawing, some types of diagram are more easily expressed in the LOGO style.

Documentation
data Turtle u a Source
show/hide Instances
data TurtleT u m a Source
show/hide Instances
runTurtle :: Num u => TurtleConfig u -> (Int, Int) -> Turtle u a -> aSource
runTurtleT :: (Monad m, Num u) => TurtleConfig u -> (Int, Int) -> TurtleT u m a -> m aSource
data TurtleDrawing u a Source
show/hide Instances
runTurtleDrawing :: Num u => TurtleConfig u -> (Int, Int) -> DrawingAttr -> TurtleDrawing u a -> (a, Graphic u)Source
execTurtleDrawing :: Num u => TurtleConfig u -> (Int, Int) -> DrawingAttr -> TurtleDrawing u a -> Graphic uSource
module Wumpus.Basic.Monads.DrawingMonad
module Wumpus.Basic.Monads.TurtleClass
Produced by Haddock version 2.6.1