wumpus-basic-0.3.0: Common drawing utilities built on wumpus-core.
Source code
Contents
Index
Wumpus.Basic.Utils.HList
Portability
GHC
Stability
unstable
Maintainer
stephen.tetley@gmail.com
Contents
Hughes list
Description
Hughes list, ...
Synopsis
type
H
a = [a] -> [a]
emptyH
::
H
a
wrapH
:: a ->
H
a
consH
:: a ->
H
a ->
H
a
snocH
::
H
a -> a ->
H
a
appendH
::
H
a ->
H
a ->
H
a
unfoldrH
:: (b ->
Maybe
(a, b)) -> b ->
H
a
veloH
:: (a ->
H
b) -> [a] ->
H
b
concatH
:: [
H
a] ->
H
a
toListH
::
H
a -> [a]
fromListH
:: [a] ->
H
a
Hughes list
type
H
a = [a] -> [a]
Source
emptyH
::
H
a
Source
wrapH
:: a ->
H
a
Source
consH
:: a ->
H
a ->
H
a
Source
snocH
::
H
a -> a ->
H
a
Source
appendH
::
H
a ->
H
a ->
H
a
Source
unfoldrH
:: (b ->
Maybe
(a, b)) -> b ->
H
a
Source
veloH
:: (a ->
H
b) -> [a] ->
H
b
Source
velo consumes the list as per map, but builds it back as a Hughes list - so items can be dropped replaced, repeated, etc...
concatH
:: [
H
a] ->
H
a
Source
toListH
::
H
a -> [a]
Source
fromListH
:: [a] ->
H
a
Source
Produced by
Haddock
version 2.6.1