[Haskell-cafe] How does one delare a 2D STUArray in Haskell?

Casey Hawthorne caseyh at istar.ca
Fri Sep 25 03:22:25 EDT 2009


Well that makes sense, but for a learner, how is he/she supposed to
know that 'i' could be '(i,i)' or for that matter a tuple of n of
those i's?

"STUArray s i e"

Could you also have a tuple of states?

Obviosly, 'e' could be a tuple, for instance  (Int,Char)

--
Regards,
Casey


More information about the Haskell-Cafe mailing list