myers-diff-0.3.0.0: myers-diff.cabal
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
name: myers-diff
version: 0.3.0.0
description: Please see the README on GitHub at <https://github.com/codedownio/myers-diff#readme>
homepage: https://github.com/codedownio/myers-diff#readme
bug-reports: https://github.com/codedownio/myers-diff/issues
author: Tom McLaughlin
maintainer: tom@codedown.io
copyright: 2023 Tom McLaughlin
license: BSD3
build-type: Simple
extra-source-files:
README.md
CHANGELOG.md
source-repository head
type: git
location: https://github.com/codedownio/myers-diff
flag diff
description: Include the diff implementation from the "Diff" package
manual: True
default: False
flag uni_myers
description: Use the diff implementation from the "uni-util" package (buggy). This causes LGPL code to be included.
manual: True
default: False
library
exposed-modules:
Data.Diff.Myers
Data.Diff.Types
other-modules:
Paths_myers_diff
hs-source-dirs:
src
default-extensions:
OverloadedStrings
QuasiQuotes
NamedFieldPuns
RecordWildCards
ScopedTypeVariables
FlexibleContexts
FlexibleInstances
LambdaCase
ConstraintKinds
ViewPatterns
TupleSections
MultiWayIf
NumericUnderscores
MultiParamTypeClasses
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
build-depends:
base >=4.7 && <5
, containers
, exceptions
, primitive
, text
, vector
default-language: Haskell2010
if flag(uni_myers)
cpp-options: -DUNI_MYERS
if flag(diff)
cpp-options: -DDIFF
if flag(uni_myers)
exposed-modules:
Data.Diff.UniMyers
hs-source-dirs:
src-uni-myers
build-depends:
array
if flag(diff)
exposed-modules:
Data.Diff.Diff
hs-source-dirs:
src-diff
build-depends:
Diff
test-suite myers-diff-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Spec.VectorMyersSpec
TestLib.Apply
TestLib.Benchmarking
TestLib.Generators
TestLib.Instances
TestLib.Util
TestLib.VectorIO
Paths_myers_diff
hs-source-dirs:
test
test-lib
default-extensions:
OverloadedStrings
QuasiQuotes
NamedFieldPuns
RecordWildCards
ScopedTypeVariables
FlexibleContexts
FlexibleInstances
LambdaCase
ConstraintKinds
ViewPatterns
TupleSections
MultiWayIf
NumericUnderscores
MultiParamTypeClasses
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N -O2
build-depends:
QuickCheck
, base >=4.7 && <5
, containers
, criterion
, deepseq
, exceptions
, myers-diff
, primitive
, quickcheck-instances
, sandwich
, sandwich-quickcheck
, string-interpolate
, text
, text-rope
, vector
default-language: Haskell2010
if flag(uni_myers)
cpp-options: -DUNI_MYERS
if flag(diff)
cpp-options: -DDIFF
if flag(uni_myers)
other-modules:
Spec.UniMyersSpec
hs-source-dirs:
test-uni-myers
if flag(diff)
other-modules:
Spec.DiffMyersSpec
hs-source-dirs:
test-diff
benchmark micro
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
TestLib.Apply
TestLib.Benchmarking
TestLib.Generators
TestLib.Instances
TestLib.Util
TestLib.VectorIO
Paths_myers_diff
hs-source-dirs:
bench-micro
test-lib
default-extensions:
OverloadedStrings
QuasiQuotes
NamedFieldPuns
RecordWildCards
ScopedTypeVariables
FlexibleContexts
FlexibleInstances
LambdaCase
ConstraintKinds
ViewPatterns
TupleSections
MultiWayIf
NumericUnderscores
MultiParamTypeClasses
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N -O2
build-depends:
QuickCheck
, base >=4.7 && <5
, containers
, criterion
, deepseq
, exceptions
, myers-diff
, primitive
, quickcheck-instances
, string-interpolate
, text
, text-rope
, vector
, weigh
default-language: Haskell2010
if flag(uni_myers)
cpp-options: -DUNI_MYERS
if flag(diff)
cpp-options: -DDIFF
benchmark myers-diff-criterion-small-deletes
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
TestLib.Apply
TestLib.Benchmarking
TestLib.Generators
TestLib.Instances
TestLib.Util
TestLib.VectorIO
Paths_myers_diff
hs-source-dirs:
bench-criterion-small-deletes
test-lib
default-extensions:
OverloadedStrings
QuasiQuotes
NamedFieldPuns
RecordWildCards
ScopedTypeVariables
FlexibleContexts
FlexibleInstances
LambdaCase
ConstraintKinds
ViewPatterns
TupleSections
MultiWayIf
NumericUnderscores
MultiParamTypeClasses
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N -O2
build-depends:
QuickCheck
, base >=4.7 && <5
, containers
, criterion
, deepseq
, exceptions
, myers-diff
, primitive
, quickcheck-instances
, string-interpolate
, text
, text-rope
, vector
default-language: Haskell2010
if flag(uni_myers)
cpp-options: -DUNI_MYERS
if flag(diff)
cpp-options: -DDIFF
benchmark myers-diff-criterion-small-inserts
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
TestLib.Apply
TestLib.Benchmarking
TestLib.Generators
TestLib.Instances
TestLib.Util
TestLib.VectorIO
Paths_myers_diff
hs-source-dirs:
bench-criterion-small-inserts
test-lib
default-extensions:
OverloadedStrings
QuasiQuotes
NamedFieldPuns
RecordWildCards
ScopedTypeVariables
FlexibleContexts
FlexibleInstances
LambdaCase
ConstraintKinds
ViewPatterns
TupleSections
MultiWayIf
NumericUnderscores
MultiParamTypeClasses
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N -O2
build-depends:
QuickCheck
, base >=4.7 && <5
, containers
, criterion
, deepseq
, exceptions
, myers-diff
, primitive
, quickcheck-instances
, string-interpolate
, text
, text-rope
, vector
default-language: Haskell2010
if flag(uni_myers)
cpp-options: -DUNI_MYERS
if flag(diff)
cpp-options: -DDIFF
benchmark myers-diff-weigh
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
TestLib.Apply
TestLib.Benchmarking
TestLib.Generators
TestLib.Instances
TestLib.Util
TestLib.VectorIO
Paths_myers_diff
hs-source-dirs:
bench-weigh
test-lib
default-extensions:
OverloadedStrings
QuasiQuotes
NamedFieldPuns
RecordWildCards
ScopedTypeVariables
FlexibleContexts
FlexibleInstances
LambdaCase
ConstraintKinds
ViewPatterns
TupleSections
MultiWayIf
NumericUnderscores
MultiParamTypeClasses
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N -O2
build-depends:
QuickCheck
, base >=4.7 && <5
, containers
, criterion
, deepseq
, exceptions
, myers-diff
, primitive
, quickcheck-instances
, string-interpolate
, text
, text-rope
, vector
, weigh
default-language: Haskell2010
if flag(uni_myers)
cpp-options: -DUNI_MYERS
if flag(diff)
cpp-options: -DDIFF