Liking cljdoc? Tell your friends :D

Converting grids

Functions for converting grids to other formats

  • to-vec: convert grid to a single vector with all values left-to-right, top-to-bottom
  • to-vecs: convert grid to a vector of vectors (one per row)
  • to-map: convert grid to a clojure map with [x y] keys
  • to-maps: convert grid to a nested map

Can you improve this documentation?Edit on GitHub

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

× close