| CARVIEW |
Select Language
HTTP/2 200
expires: Thu, 19 Nov 1981 08:52:00 GMT
cache-control: no-store, no-cache, must-revalidate
pragma: no-cache
set-cookie: PHPSESSID=0eb7eij9vbu3r02r4288l756ho; path=/
content-type: text/html; charset=UTF-8
date: Sun, 28 Dec 2025 09:00:07 GMT
server: Apache
pkgsrc.se | The NetBSD package collection
archivers
audio
benchmarks
biology
cad
chat
comms
converters
cross
crosspkgtools
databases
devel
doc
editors
emulators
filesystems
finance
fonts
games
geography
graphics
ham
inputmethod
lang
mail
math
mbone
meta-pkgs
misc
multimedia
net
news
parallel
pkgtools
print
regress
security
shells
sysutils
textproc
hs-Diff
time
wip
wm
www
x11
* = Virtual Category
Path to this page:
./textproc/hs-Diff, Diff algorithm in pure Haskell
[
Branch: CURRENT, Version: 1.0.2nb3, Package name: hs-Diff-1.0.2nb3, Maintainer: pkgsrc-users
Implementation of the standard diff algorithm in Haskell.
Time complexity is O(ND) (input length * number of differences). Space
complexity is O(D^2). Includes utilities for pretty printing.
Required to run:
[lang/ghc94]
Navigation:
-
Browse pkgsrc
(this page)
archivers
audio
benchmarks
biology
cad
chat
comms
converters
cross
crosspkgtools
databases
devel
doc
editors
emulators
filesystems
finance
fonts
games
geography
graphics
ham
inputmethod
lang
math
mbone
meta-pkgs
misc
multimedia
net
news
parallel
pkgtools
regress
security
shells
sysutils
textproc
hs-Difftime
wip
wm
www
x11
* = Virtual Category
Path to this page:
./textproc/hs-Diff, Diff algorithm in pure Haskell
[
CVSweb ] [
Homepage ] [
RSS ] [
Required by ] [
Add to tracker ]
Branch: CURRENT, Version: 1.0.2nb3, Package name: hs-Diff-1.0.2nb3, Maintainer: pkgsrc-users
Implementation of the standard diff algorithm in Haskell.
Time complexity is O(ND) (input length * number of differences). Space
complexity is O(D^2). Includes utilities for pretty printing.
Required to run:
[lang/ghc94]
Master sites:
Filesize: 10.68 KBVersion history: (Expand)
- (2025-08-13) Updated to version: hs-Diff-1.0.2nb3
- (2025-03-05) Updated to version: hs-Diff-1.0.2nb2
- (2025-02-02) Updated to version: hs-Diff-1.0.2nb1
- (2025-01-31) Updated to version: hs-Diff-1.0.2
- (2024-05-09) Updated to version: hs-Diff-0.5nb2
- (2023-11-02) Updated to version: hs-Diff-0.5nb1
CVS history: (Expand)
| 2025-08-13 13:07:47 by Masatake Daimon | Files touched by this commit (1263) |
Log message: Bump all Haskell because lang/ghc910 has got a library change |
| 2025-03-05 04:40:14 by Masatake Daimon | Files touched by this commit (1173) |
Log message: recursive revbump after patching lang/ghc910 |
| 2025-02-02 14:06:08 by Masatake Daimon | Files touched by this commit (1173) |
Log message: Bump all Haskell packages after switching the default compiler. |
| 2025-01-31 03:20:14 by Masatake Daimon | Files touched by this commit (5) | |
Log message:
textproc/hs-Diff: update to Diff-1.0.2
# 1.0.2
- Output correct format when an input file is empty, e.g. `@@ --0,0 +1,3 @@`.
# 1.0.1.1
- Require `base >= 4.11` (GHC 8.4).
# 1.0
- Add Unix diff style annotations to output of `prettyContextDiff`,
e.g `@@ -1,5 +1,4 @@`. This required three changes to the
signature of `getContextDiff` due to the addition of a wrapper type
`Numbered`, which enumerates the elements of the input list.
- Signature change 1: The element pretty printer type changes from
`(a -> Doc)` to `(Numbered a -> Doc)`. An unnumber function is
provided so that the old behavior can be obtained by changing that
argument from `pretty` to `(pretty . unnumber)`
- Signature change 2: The result type of getContextDiff changes from
`ContextDiff a` to `ContextDiff (Numbered a)`. A function
`unNumberContextDiff` is provided to convert the result back to
the old type.
- Signature change 3: the context argument is now `Maybe Int` rather
than `Int`, reflecting the change made to `getContextDiffNew` in 0.5.
- A `prettyContextDiffOld` function is provided to get the old
style output.
- The old broken version of getContextDiffOld is removed.
- Document the behavior of `groupBy'`.
# 0.5
- Bring space complexity down to D^2 (Bodigrim).
- Add `Bifunctor` instance (Jonathan King). Requires `base` >= 4.8.
- Fix for the grouped context diff. It was omitting all trailing contexts.
- Allow unlimited number of context elements (`getContextDiffNew`).
# 0.4
- Generalize `Diff a` to `PolyDiff a b`.
`Diff` has been replaced with a specialized synonym `type Diff a = PolyDiff a a`,
but it's still not backward compatible if you imported `Diff(..)`.
|
| 2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137) |
Log message: Recursive revbump after changing the default Haskell compiler |
| 2024-04-28 22:58:52 by Masatake Daimon | Files touched by this commit (1) |
Log message: textproc/hs-Diff: Fix build with GHC 9.8 This breaks build with the currently default GHC 9.6. Please bear with me until I switch the default compiler. |
| 2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141) |
Log message: Revbump all Haskell after updating lang/ghc96 |
| 2023-10-26 08:53:51 by Masatake Daimon | Files touched by this commit (4) |
Log message: textproc/hs-Diff: Update to 0.5 No change log is provided by the upstream. |
