@hackage / haskell-list-builder

Fast Sequencing and Building Lists using Unsafe Primitives

Latest0.1.0.0

About

Metadata

  • Last updated , by huw
  • License BSD-3-Clause
  • Maintained by: huw.campbell@gmail.com

  • Lottery factor: 1

Links

Installation

Readme

Extra unsafe sequencing of IO actions from Twan van Laarhoven packaged up, along with unfoldIO and an implementation of Scala's List Buffer. This means we can have tail recursive sequence and traverse specialised for lists of IO actions.

For algorithms which are more easily written in a mutable way we have `ListBuilder s a`. A `ListBuilder s a` is like a wrapper around an `ST s [a]`, but with a constant time append as well as prepend.