Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
firstHole :: Carrier z -> Maybe (Element z, z) Source #
plugHole :: Element z -> z -> Carrier z Source #
nextHole :: Element z -> z -> Either (Carrier z) (Element z, z) Source #
Instances
data ListZipper a Source #
ListZip [a] [a] |
Instances
data ComposeZipper f g Source #
ComposeZip f g |
Instances
(Zipper f, Zipper g, Element f ~ Carrier g) => Zipper (ComposeZipper f g) Source # | |
Defined in Agda.Utils.Zipper type Carrier (ComposeZipper f g) Source # type Element (ComposeZipper f g) Source # firstHole :: Carrier (ComposeZipper f g) -> Maybe (Element (ComposeZipper f g), ComposeZipper f g) Source # plugHole :: Element (ComposeZipper f g) -> ComposeZipper f g -> Carrier (ComposeZipper f g) Source # nextHole :: Element (ComposeZipper f g) -> ComposeZipper f g -> Either (Carrier (ComposeZipper f g)) (Element (ComposeZipper f g), ComposeZipper f g) Source # | |
type Carrier (ComposeZipper f g) Source # | |
Defined in Agda.Utils.Zipper | |
type Element (ComposeZipper f g) Source # | |
Defined in Agda.Utils.Zipper |