[Haskell-cafe] ANN: loop - fast for loops
Niklas Hambüchen
mail at nh2.me
Wed Apr 30 15:21:22 UTC 2014
Announcing the first version of the loop package:
http://hackage.haskell.org/package/loop
This is for iterating over numeric or otherwise iteratable things in a
fast fashion. Looks like C, runs like C.
It's trivial, but very robust performance-wise and more independent of
GHC smartness or non-smartness in regards to optimising alternatives
like `forM_ [1..n]`.
It comes with a lot of benchmarks.
Contributions are very welcome.
More information about the Haskell-Cafe
mailing list