patience: Patience diff and longest increasing subsequence

[ algorithms, bsd3, library, text ] [ Propose Tags ]

This library implements the "patience diff" algorithm, as well as the patience algorithm for the longest increasing subsequence problem.

Patience diff computes the difference between two lists, for example the lines of two versions of a source file. It provides a good balance of performance, nice output for humans, and implementation simplicity. For more information, see http://alfedenzo.livejournal.com/170301.html and http://bramcohen.livejournal.com/73318.html.


[Skip to Readme]
Versions [faq] 0.1, 0.1.1, 0.2.0.0, 0.2.1.0
Change log CHANGELOG.md
Dependencies base (>=4.6 && <5), containers (>=0.5.9 && <0.7) [details]
License BSD-3-Clause
Author Keegan McAllister <mcallister.keegan@gmail.com> chessai <chessai1996@gmail.com>
Maintainer chessai <chessai1996@gmail.com>
Revised Revision 1 made by HerbertValerioRiedel at Thu Jan 3 19:11:41 UTC 2019
Category Algorithms, Text
Home page https://github.com/chessai/patience
Source repo head: git clone https://github.com/chessai/patience.git
Uploaded by chessai at Sun Dec 30 16:19:53 UTC 2018
Distributions Arch:0.2.1.0, Debian:0.1.1, NixOS:0.2.1.0
Downloads 4355 total (138 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-12-30 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for patience-0.2.1.0

[back to package description]

Hackage

patience

About

This library implements the "patience diff" algorithm, as well as the patience algorithm for the longest increasing subsequence problem.

Patience diff computes the difference between two lists, for example the lines of two versions of a source file. It provides a good balance of performance, nice output for humans, and implementation simplicity. For more information, see these two blog posts: alfedenzo, bramcohen

Install

Install with cabal (new-)install patience.