> There's fromIArray and fromList [1].  Does that answer your question?

Huh, yes, thank you! But still I don't get it. Neither

arr1 = fromList 3 [1,2,3] :: Array DIM1 Int

nor

arr1 = fromList (1,3) [1,2,3] :: Array DIM1 Int

works

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to