Liking cljdoc? Tell your friends :D

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.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close