patience: Patience diff and longest increasing subsequence

[ algorithms, bsd3, library, text ] [ Propose Tags ] [ Report a vulnerability ]

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]

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

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.1.1, 0.2.0.0, 0.2.1.0, 0.2.1.1, 0.3
Change log CHANGELOG.md
Dependencies base (>=4.3 && <5), containers (>=0.5.9 && <0.8) [details]
Tested with ghc ==9.12.0, ghc ==9.10.1, ghc ==9.8.2, ghc ==9.6.6, ghc ==9.4.8, ghc ==9.2.8, ghc ==9.0.2, ghc ==8.10.7, ghc ==8.8.4, ghc ==8.6.5, ghc ==8.4.4, ghc ==8.2.2
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 AndreasAbel at 2024-11-13T10:45:17Z
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 2019-07-29T15:54:30Z
Distributions Arch:0.3, Debian:0.3, NixOS:0.3, Stackage:0.3
Reverse Dependencies 5 direct, 9 indirect [details]
Downloads 9360 total (59 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-07-29 [all 1 reports]

Readme for patience-0.3

[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.