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 builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close