Grids without indices

Posted on December 23, 2025 Working with grids in Haskell (or any purely functional language, I’m sure) can be pretty painful, but it doesn’t have to be. The reason it’s so painful is that we’re tempted to manipulate grids using indices. Now maybe if we’re using a nice array library such as vector , then index-based manipulations aren’t so gross, but in this article, I’ll show you a way to…