[Haskell-cafe] STUArray

2006-03-10 Thread Frederik Eaton
Hi all, I'm trying to figure out how to use STUArray. Is it possible to let it be polymorphic? Here is an excerpt from my program: class (IArray UArray k, Ord k, Fractional k) = Elt k class (Bounded a, Enum a, Ix a, Eq a, Show a) = IxB a -- |like Array but uses IxB instead of Ix

Re: [Haskell-cafe] STUArray

2006-03-10 Thread Benjamin Franksen
On Friday 10 March 2006 23:01, Frederik Eaton wrote: I'm trying to figure out how to use STUArray. Is it possible to let it be polymorphic? Hi Frederik I think this thread (and the one it referres to) provide a solution: http://www.mail-archive.com/haskell%40haskell.org/msg17081.html Ben --

Re[2]: [Haskell-cafe] STUArray

2006-03-10 Thread Bulat Ziganshin
Hello Benjamin, Saturday, March 11, 2006, 1:49:10 AM, you wrote: BF http://www.mail-archive.com/haskell%40haskell.org/msg17081.html to be exact, i implemented Oleg's idea and published this in Feb in haskell list. now i work on integrating this code with the Data.Array.* library -- Best