Portability | GHC |
---|---|
Stability | highly unstable |
Maintainer | stephen.tetley@gmail.com |
Safe Haskell | Safe-Infered |
Common types and operations.
- type PrimResult u a = (a, CatPrim)
- class UConvert f where
- uconvF :: (Functor t, InterpretUnit u, InterpretUnit u1) => f u (t u) -> f u1 (t u1)
- uconvZ :: (InterpretUnit u, InterpretUnit u1) => f u a -> f u1 a
- ignoreAns :: Functor (f u) => f u a -> f u (UNil u)
- replaceAns :: Functor (f u) => a -> f u z -> f u a
- class Decorate f where
- decorateAbove :: Decorate f => f u a -> f u z -> f u a
- decorateBelow :: Decorate f => f u a -> f u z -> f u a
- elaborateAbove :: Decorate f => f u a -> (a -> f u z) -> f u a
- elaborateBelow :: Decorate f => f u a -> (a -> f u z) -> f u a
Documentation
type PrimResult u a = (a, CatPrim)Source
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.
Decorate an object
oliterate - drops the graphic from the first object replacing it with the graphic from the second.
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.