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: about 2 months 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 7 years ago)
- Default Branch: main
- Last Pushed: 2025-04-01T21:08:26.000Z (3 months ago)
- Last Synced: 2025-05-03T16:55:41.566Z (2 months ago)
- Topics: comonads, datastructures, ghvm-managed, haskell, list
- Language: Haskell
- Homepage:
- Size: 41 KB
- Stars: 7
- Watchers: 20
- 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