@hackage list-filter0.1.0.0

Special takes and drops on lists

  • Installation

  • Dependencies (1)

  • Dependents (0)

list-filter

list-filter is a library for more filters than are available in the standard libraries

Features

list-filter is a new project, but the following features have been implemented and extensively tested:

  • takeEvery, dropEvery: Take or drop every nth element
  • takeUntil, dropUntil: Like takeWhile, dropWhile, but keep the element that satisfies/falsifies the predicate.

Full documentation can be built with Haddock (see instructions below), and is also available on Hackage.

Installation

Build and install with Stack:

git clone https://github.com/pgujjula/list-utilities
cd list-utilities/list-filter
stack build list-filter           # build the project
stack haddock list-filter --open  # build and view documentation
stack test                        # run the test suite

Contact

If you want to report a bug, request a feature, or suggest improvements, feel free to email me at preetham (dot) gujjula (at) protonmail (dot) com!

-- Preetham