3 ms·
i write incredibly mutation heavy code in haskell on a nearly daily basis. I've even added compiler support for doing hardware prefetch to the most recent versi
by carterschonwald 11y ago
i write incredibly mutation heavy code in haskell on a nearly daily basis. I've even added compiler support for doing hardware prefetch to the most recent version of ghc https://downloads.haskell.org/~ghc/7.10.1/docs/html/libraries/GHC-Prim.html#g:29 https://downloads.haskell.org/~ghc/7.10.1/docs/html/librarie...
there are many lovely mutable data structuers in haskell
http://hackage.haskell.org/package/vector-0.5/docs/Data-Vector-Storable-Mutable.html http://hackage.haskell.org/package/vector-0.5/docs/Data-Vect...
is one for unboxed C-struct style arrays,
http://hackage.haskell.org/package/hashtables http://hackage.haskell.org/package/hashtables is a super mature stable mutable hashtable library, that is used, among other places, in agda!
..... please fact check your feelings in the future :)
- QuantumRoar 11y agoSorry. I seriously didn't know. I only ever used the immutable parts of Haskell. Thanks for the correction.