Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/emlyn/grid

A Clojure library for dealing with 2-dimensional (grid-like) data.
https://github.com/emlyn/grid

Last synced: 1 day ago
JSON representation

A Clojure library for dealing with 2-dimensional (grid-like) data.

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.