https://github.com/freckle/nonempty-zipper
A non-empty comonadic list zipper
https://github.com/freckle/nonempty-zipper
comonads datastructures ghvm-managed haskell list
Last synced: 14 days ago
JSON representation
A non-empty comonadic list zipper
- Host: GitHub
- URL: https://github.com/freckle/nonempty-zipper
- Owner: freckle
- License: mit
- Created: 2017-12-22T22:27:33.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2025-12-15T17:09:42.000Z (3 months ago)
- Last Synced: 2025-12-18T23:33:03.570Z (3 months ago)
- Topics: comonads, datastructures, ghvm-managed, haskell, list
- Language: Haskell
- Homepage:
- Size: 47.9 KB
- Stars: 7
- Watchers: 16
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# nonempty-zipper
A non-empty comonadic list zipper
## Why not another Zipper implementation?
A [Hoogle search][hoogle-search] reveals various implementations of zippers.
The two that have the most similar feature sets to `nonempty-zipper` are
[list-zipper][list-zipper] and [non-empty-zipper][non-empty-zipper].
[list-zipper][list-zipper] has a solid lens interface, and a ton of instances,
however it's lacking documentation and an `NFData` instance.
[non-empty-zipper][non-empty-zipper] is most similar to this package but it
appears to be unmaintained (e.g. `base` has drifted).
[hoogle-search]: https://hoogle.haskell.org/?hoogle=zipper
[list-zipper]: https://hackage.haskell.org/package/list-zipper
[non-empty-zipper]: https://hackage.haskell.org/package/non-empty-zipper