@hackage / unzip-traversable

Unzip functions for general Traversable containers

Latest0.1.1

About

Metadata

  • Last updated , by dfeuer
  • License BSD-2-Clause
  • Maintained by: David.Feuer@gmail.com

  • Lottery factor: 1

Links

Installation

Tested Compilers

  1. 9.12.1
  2. 9.10.1
  3. 9.8.4
  4. 9.6.6
  5. 9.4.8
  6. 9.2.8
  7. 9.0.2
  8. 8.10.7
  9. 8.8.4
  10. 8.6.5
  11. 8.4.4
  12. 8.2.2

Readme

This package provides functions for unzipping arbitrary Traversable containers. Unlike the classic Data.Functor.unzip, these functions take care to avoid space leaks that can cause elements to be retained when they are no longer actually accessible. Unlike a naive Traversable-based implementation, each unzip walks the argument container only once. Both eager and lazy versions are included.