Gamgine-0.4.1: Some kind of game library or set of utilities.
Gamgine.Zipper
Synopsis
before :: Zipper a -> Zipper a Source
get the elements before the current one
after :: Zipper a -> Zipper a Source
get the elements after the current one
current :: Zipper a -> a Source
get the current element, might fail
previous :: Zipper a -> a Source
get the previous element, might fail
next :: Zipper a -> a Source
get the next element, might fail
atLast :: Zipper a -> Bool Source
if the current element is the last of the list
atFirst :: Zipper a -> Bool Source
if the current element is the first of the list