Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joakin/elm-grid
2d and 3d grid folding. Loop over a coordinate space, build a result
https://github.com/joakin/elm-grid
elm elm-lang
Last synced: 24 days ago
JSON representation
2d and 3d grid folding. Loop over a coordinate space, build a result
- Host: GitHub
- URL: https://github.com/joakin/elm-grid
- Owner: joakin
- License: bsd-3-clause
- Created: 2018-08-07T09:36:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-24T12:42:22.000Z (over 6 years ago)
- Last Synced: 2024-10-21T18:21:48.713Z (2 months ago)
- Topics: elm, elm-lang
- Language: Elm
- Size: 23.4 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# joakin/elm-grid
Functions to operate on a set of coordinates and do something with them.
You can think of them as kind of like list comprehension helpers for 2d and 3d
lists.Very useful where you would write nested for loops in imperative languages. For
example, when using `elm-graphics` or `elm-canvas` to do some sort of grid
drawings.For 1 dimensional comprehensions use `List.range`.