emlyn / grid

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:Eclipse Public License 1.0


Languages

Language:Clojure 100.0%