Safe Haskell | None |
---|---|
Language | Haskell98 |
Data.DiscreteSpaceMap
Documentation
class Eq p => Pos p where Source #
To be a key in the map, a position needs to be convertible to and from a stream of bits.
Map
is a zipper on an infinite perfect binary tree.
It contains the position and value of the focus.
The other values are stored in the derivative of a perfect binary tree.
Functions that combine 2 maps like zipWith
, zipWithKey
and <@>
preserve the focus position of the second argument.
Instances
Pos p => ComonadStore p (Map p) Source # |
|
Functor (Map p) Source # | |
Foldable (Map p) Source # | |
Traversable (Map p) Source # | |
Pos p => Distributive (Map p) Source # | |
Pos p => Representable (Map p) Source # |
|
Comonad (Map p) Source # |
|
Pos p => ComonadApply (Map p) Source # |
|
Pos p => Keyed (Map p) Source # | |
Pos p => Zip (Map p) Source # | |
Pos p => ZipWithKey (Map p) Source # | |
Pos p => Indexable (Map p) Source # | |
Pos p => Lookup (Map p) Source # | |
Pos p => Adjustable (Map p) Source # | |
Pos p => FoldableWithKey (Map p) Source # | |
Pos p => FoldableWithKey1 (Map p) Source # | |
Pos p => TraversableWithKey (Map p) Source # | |
Pos p => TraversableWithKey1 (Map p) Source # | |
Traversable1 (Map p) Source # | |
Foldable1 (Map p) Source # | |
(Show a, Show p) => Show (Map p a) Source # | |
type Rep (Map p) Source # | |
type Key (Map p) Source # | |