list-filter: Special takes and drops on lists

[ bsd3, library, list ] [ Propose Tags ] [ Report a vulnerability ]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.1.0
Change log ChangeLog.md
Dependencies base (>=4.7 && <5) [details]
License BSD-3-Clause
Copyright 2020 Preetham Gujjula
Author Preetham Gujjula
Maintainer pgujjula+list-utilities@protonmail.com
Category List
Home page https://github.com/pgujjula/list-utilities#readme
Bug tracker https://github.com/pgujjula/list-utilities/issues
Source repo head: git clone https://github.com/pgujjula/list-utilities
Uploaded by pgujjula at 2020-05-04T17:57:28Z
Distributions NixOS:0.1.1.0
Downloads 570 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-05-04 [all 1 reports]

Readme for list-filter-0.1.1.0

[back to package description]

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