https://github.com/emlyn/grid
A Clojure library for dealing with 2-dimensional (grid-like) data.
https://github.com/emlyn/grid
Last synced: about 1 month ago
JSON representation
A Clojure library for dealing with 2-dimensional (grid-like) data.
- Host: GitHub
- URL: https://github.com/emlyn/grid
- Owner: emlyn
- License: epl-1.0
- Created: 2023-12-27T22:40:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-08T02:12:43.000Z (over 1 year ago)
- Last Synced: 2025-04-02T00:46:51.943Z (about 2 months ago)
- Language: Clojure
- Size: 48.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# grid
A library for working with 2D rectangular arrays of data.
## Usage
Inspired by Advent of Code.
I found that I was often dealing with two dimensional grids of data,
and writing a load of ad-hoc functions for dealing with them.
So I decided to write a library around a map-like type,
that takes pairs of coordinates as keys,
but stores the data internally in a flat vector.## License
Copyright © 2023 Emlyn Corrin
Distributed under the Eclipse Public License version 1.0.