list-duplicate: Group and delete duplicates from a list

[ bsd3, library, list ] [ Propose Tags ]

Please see the README on GitHub at https://github.com/pgujjula/list-utilities/tree/master/list-duplicate#readme.


[Skip to Readme]
Versions [faq] 0.1.0.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-duplicate#readme
Bug tracker https://github.com/pgujjula/list-duplicate/issues
Source repo head: git clone https://github.com/pgujjula/list-duplicate
Uploaded by pgujjula at 2020-05-02T22:04:39Z
Distributions NixOS:0.1.0.0
Downloads 92 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for list-duplicate-0.1.0.0

[back to package description]

list-duplicate

list-duplicate is a library for working with duplicates in lists.

Features

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

  • group, groupBy: Group duplicate elements
  • groupAdj, groupAdj: Group duplicate adjacent elements in a list. Also useful for grouping the elements of a sorted list.
  • deleteDups, deleteDupsBy: Delete duplicates from a list.
  • deleteAdjDups, deleteAdjDupsBy: Delete adjacent duplicates from a list. Also useful for deleting duplicates from a sorted list.

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-duplicate
stack build list-duplicate           # build the project
stack haddock list-duplicate --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