HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Package0.3AlgorithmsText

patience

Patience diff and longest increasing subsequence

Modules

2 modules
  • Patience3Implements "patience diff" and the patience algorithm for the longest
  • Patience.Map22This module provides a lossless way to do

Description

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.

Depends on

2 packages

Used by in this set · 0

Nothing in this set depends on it.