Re[2]: [Haskell-cafe] Re: dynamic arrays

2006-03-17 Thread Bulat Ziganshin
Hello Chris, Friday, March 17, 2006, 10:31:28 PM, you wrote: >> i tried to implement this today :) but there is one problem: i've uploaded current version as http://freearc.narod.ru/ArrayRef.tar.gz see the Dynamic.hs usage example and Data/Array_/Dynamic.hs implementation module for details --

Re[2]: [Haskell-cafe] Re: dynamic arrays

2006-03-17 Thread Bulat Ziganshin
Hello Chris, Friday, March 17, 2006, 10:31:28 PM, you wrote: CK> If I may make a suggestion: I think you have identified a need for certain CK> operations which would benefit from a typeclass. The dynamic arrays need new CK> operations on their indices, so they need a more specific type than Ix

Re: [Haskell-cafe] Re: dynamic arrays

2006-03-17 Thread Chris Kuklewicz
Small typo fix: > > expandVector (Vector s) = do > let a = bounds s > b = expandSize b b = expandSize a ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: dynamic arrays

2006-03-17 Thread Chris Kuklewicz
Jared Updike wrote: > (Moved to haskell-cafe) > > JU> General question to the list: > JU> (Q) Are there any data structures in Haskell similar to C++/STL > JU> vectors or C# generic Lists (i.e. strongly typed ArrayLists, e.g. > JU> List)? These data structures grow automatically as you add > JU>

[Haskell-cafe] Re: dynamic arrays

2006-03-17 Thread Jared Updike
(Moved to haskell-cafe) JU> General question to the list: JU> (Q) Are there any data structures in Haskell similar to C++/STL JU> vectors or C# generic Lists (i.e. strongly typed ArrayLists, e.g. JU> List)? These data structures grow automatically as you add JU> elements to them (but in large chu