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

PortabilityGHC
Stabilityhighly unstable
Maintainerstephen.tetley@gmail.com
Safe HaskellSafe-Infered

Wumpus.Basic.Kernel.Objects.Basis

Description

Common types and operations.

Synopsis

Documentation

type PrimResult u a = (a, CatPrim)Source

class UConvert f whereSource

Methods

uconvF :: (Functor t, InterpretUnit u, InterpretUnit u1) => f u (t u) -> f u1 (t u1)Source

uconvZ :: (InterpretUnit u, InterpretUnit u1) => f u a -> f u1 aSource

ignoreAns :: Functor (f u) => f u a -> f u (UNil u)Source

Note - the kind of f allows fo unit annotation.

replaceAns :: Functor (f u) => a -> f u z -> f u aSource

Replace the answer produced by a graphic object.

class Decorate f whereSource

Decorate an object

oliterate - drops the graphic from the first object replacing it with the graphic from the second.

Methods

decorate :: ZOrder -> f u a -> f u z -> f u aSource

Should be read as decorate (above|below) A with B

elaborate :: ZOrder -> f u a -> (a -> f u z) -> f u aSource

obliterate :: f u a -> f u aSource

hyperlink :: XLink -> f u a -> f u aSource

svgId :: String -> f u a -> f u aSource

svgAnnotate :: [SvgAttr] -> f u a -> f u aSource

decorateAbove :: Decorate f => f u a -> f u z -> f u aSource

Decorate (ABOVE) a with b.

decorateBelow :: Decorate f => f u a -> f u z -> f u aSource

Decorate (BELOW) a with b.

elaborateAbove :: Decorate f => f u a -> (a -> f u z) -> f u aSource

Elaborate (ABOVE) a with b.

elaborateBelow :: Decorate f => f u a -> (a -> f u z) -> f u aSource

Elaborate (BELOW) a with b.