[Haskell-cafe] 2D Array

Dean Herington heringtonlacey at mindspring.com
Sun Dec 3 21:27:00 EST 2006


At 12:25 PM +1000 12/4/06, Tony Morris wrote:
>
>I wish to pass a 2 dimensional array to use in a back-tracking
>algorithm. Since I will be doing lots of inserts, a Data.Array is
>unsuitable. It seems that a Map Int (Map Int a) is the most suitable
>structure, but this seems cumbersome.
>
>Is there anything more appropriate?

Map (Int, Int) a ?


More information about the Haskell-Cafe mailing list