[Haskell-beginners] Mutable grid

mike h mike_k_houghton at yahoo.co.uk
Mon Dec 19 13:10:40 UTC 2016


Hi,

I’m looking a problem where I have an NxN grid of ints. 
I need a function like setValue x y newVal

I have tried using [[Int]] but it does become messy when splitting , dropping and then ++ back together.

What other options are available to represent a mutable grid?

Many thanks

Mike



More information about the Beginners mailing list