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
--
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
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
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>
(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