Summary
Common diff algorithm works on list structures: @ diff :: Eq a => [a] -> [a] -> [Edit a] @ This package works on trees. @ treeDiff :: Eq a => Tree a -> Tree a -> Edit (EditTree a) @ This package also provides a way to diff arbitrary ADTs, using @Generics@-derivable helpers. This package differs from <http://hackage.haskell.org/package/gdiff gdiff>, in a two ways: @tree-diff@ doesn't have patch function, and the "edit-script" is a tree itself, which is useful for pretty-printing. @ >>> prettyEditExpr $ ediff (Foo 42 [True, False] "old") (Foo 42 [False, False, True] "new") Foo {fooBool = [-True, +False, False, +True], fooInt = 42, fooString = -"old" +"new"} @
Versions
v0.1 :: 0/0.1 :: gentoo
- Modified
- License
- BSD
- Keywords
- ~amd64 ~x86
- USE flags
- doc hscolour profile test
USE flags
General
- doc
- Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
- hscolour
- Include coloured haskell sources to generated documentation (dev-haskell/hscolour)
- profile
- Add support for software performance analysis (will likely vary from ebuild to ebuild)
- test
- Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
Dependencies
dev-haskell / aeson : Fast JSON parsing and encoding
dev-haskell / ansi-terminal : Simple ANSI terminal support, with Windows compatibility
dev-haskell / ansi-wl-pprint : The Wadler/Leijen Pretty Printer for colored ANSI terminal output
dev-haskell / base-compat : A compatibility layer for base
dev-haskell / bytestring-builder : The new bytestring builder, packaged outside of GHC
dev-haskell / cabal : A framework for packaging Haskell software
dev-haskell / generic-deriving : Generic programming library for generalised deriving
dev-haskell / generics-sop : Generic Programming using True Sums of Products
dev-haskell / hashable : A class for types that can be converted to a hash value
dev-haskell / hscolour : Colourise Haskell code
dev-haskell / memotrie : Trie-based memo functions
dev-haskell / nats : Natural numbers
dev-haskell / parsec : Monadic parser combinators
dev-haskell / parsers : Parsing combinators
dev-haskell / quickcheck : Automatic testing of Haskell programs
dev-haskell / scientific : Numbers represented using scientific notation
dev-haskell / semigroups : Anything that associates
dev-haskell / tagged : Haskell 98 phantom types to avoid unsafely passing dummy arguments
dev-haskell / tasty : Modern and extensible testing framework
dev-haskell / tasty-golden : Golden tests support for tasty
dev-haskell / tasty-quickcheck : QuickCheck support for the Tasty test framework
dev-haskell / text : An efficient packed Unicode text type
dev-haskell / trifecta : A modern parser combinator library with convenient diagnostics
dev-haskell / unordered-containers : Efficient hashing-based container types
dev-haskell / uuid-types : Type definitions for Universally Unique Identifiers
dev-haskell / vector : Efficient Arrays
dev-haskell / void : A Haskell 98 logically uninhabited data type
Runtime Dependencies
dev-haskell / aeson : Fast JSON parsing and encoding
dev-haskell / ansi-terminal : Simple ANSI terminal support, with Windows compatibility
dev-haskell / ansi-wl-pprint : The Wadler/Leijen Pretty Printer for colored ANSI terminal output
dev-haskell / base-compat : A compatibility layer for base
dev-haskell / bytestring-builder : The new bytestring builder, packaged outside of GHC
dev-haskell / generic-deriving : Generic programming library for generalised deriving
dev-haskell / generics-sop : Generic Programming using True Sums of Products
dev-haskell / hashable : A class for types that can be converted to a hash value
dev-haskell / memotrie : Trie-based memo functions
dev-haskell / nats : Natural numbers
dev-haskell / parsec : Monadic parser combinators
dev-haskell / parsers : Parsing combinators
dev-haskell / quickcheck : Automatic testing of Haskell programs
dev-haskell / scientific : Numbers represented using scientific notation
dev-haskell / semigroups : Anything that associates
dev-haskell / tagged : Haskell 98 phantom types to avoid unsafely passing dummy arguments
dev-haskell / text : An efficient packed Unicode text type
dev-haskell / unordered-containers : Efficient hashing-based container types
dev-haskell / uuid-types : Type definitions for Universally Unique Identifiers
dev-haskell / vector : Efficient Arrays
dev-haskell / void : A Haskell 98 logically uninhabited data type
Depending packages
dev-haskell / haddock-library : Library exposing some functionality of Haddock
Change logs
- Repository mirror & CI · gentoo
Merge updates from master - Jack Todaro · gentoo
dev-haskell/tree-diff: add package
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>