wumpus-basic-0.17.0: Basic objects and system code built on Wumpus-Core.

PortabilityGHC
Stabilityhighly unstable
Maintainerstephen.tetley@gmail.com

Wumpus.Basic.Kernel.Objects.Chain

Description

Chaining moveable LocGraphics.

Synopsis

Documentation

data ChainAlg u Source

Chain algorithm.

Linear simply iterates points.

Prefix runs the left chain n times then runs the right chain from the end point of the left chain.

chain :: InterpretUnit u => ChainAlg u -> [LocImage u a] -> LocImage u (Point2 u)Source

Returns the end point...

chain_ :: InterpretUnit u => ChainAlg u -> [LocImage u a] -> LocGraphic uSource

Returns no answer, just a LocGraphic.

iterationScheme :: (Point2 u -> st) -> (st -> (st, Point2 u)) -> IterationScheme uSource

chainH :: Num u => u -> ChainAlg uSource

chainV :: Num u => u -> ChainAlg uSource

tableRight :: Num u => Int -> (u, u) -> ChainAlg uSource

tableDown :: Num u => Int -> (u, u) -> ChainAlg uSource