Safe Haskell | Safe-Infered |
---|
ListZipper
Documentation
data ListZipper a Source
Instances
Functor ListZipper | |
Foldable ListZipper | |
Eq a => Eq (ListZipper a) | |
Ord a => Ord (ListZipper a) | |
Show a => Show (ListZipper a) |
focus :: ListZipper t -> Maybe tSource
left :: ListZipper t -> [t]Source
right :: ListZipper t -> [t]Source
reset :: ListZipper t -> ListZipper tSource
fromList :: [a] -> ListZipper aSource
toList :: ListZipper a -> [a]Source
next :: ListZipper a -> ListZipper aSource
atEnd :: ListZipper a -> BoolSource
at :: Monoid m => ListZipper m -> Int -> mSource