Maintained by chessai
This version can be pinned in stack with:patience-0.3@sha256:491a8d0bfbffc06311c41dadf225eb96b52a0dd95c089778ac2ba0b13dd58d6e,1558

Module documentation for 0.3

Depends on 2 packages(full list with versions):
Used by 1 package in nightly-2024-12-27(full list with versions):

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.

Changes

Changes in version 0.3

  • Remove Patience.itemChar and Patience.itemValue.
  • Remove M and related functions.

Changes in version 0.2.1.1

  • Deprecate Patience.itemChar and Patience.itemValue.
  • Add module Patience.Map.

Changes in version 0.2.0.0

  • Move Data.Algorithm.Patience to Patience
  • Remove use of deprecated Data.Map.insertWith'
  • Add strictness/UNPACK annotations to Int values