cabal-version: 3.0
name: generic-diff-instances
version: 0.1.0.0
synopsis: Diff instances for common types
description:
The [generic-diff](https://hackage.haskell.org/package/generic-diff) package
aims to be lightweight and not force any instances which might have more than
one interpretation.
This package provides a more comprehensive set of instances for types from a
range of common packages.
license: BSD-3-Clause
author: Frederick Pringle
maintainer: freddyjepringle@gmail.com
copyright: Copyright(c) Frederick Pringle 2025
homepage: https://github.com/fpringle/generic-diff
category: Generics, Test
build-type: Simple
extra-doc-files: CHANGELOG.md
README.md
tested-with:
GHC == 9.12.2
GHC == 9.10.1
GHC == 9.8.2
GHC == 9.6.5
GHC == 9.4.8
GHC == 9.2.8
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.6.5
common warnings
ghc-options: -Wall
common deps
build-depends:
, base >= 4.12 && < 5
, generic-diff >= 0.1 && < 0.2
, sop-core >= 0.4.0.1 && < 0.6
, generics-sop >= 0.4 && < 0.6
, text >= 1.1 && < 2.2
, containers >= 0.5.9.2 && < 0.9
common extensions
default-extensions:
AllowAmbiguousTypes
ConstraintKinds
DataKinds
DefaultSignatures
DeriveGeneric
FlexibleContexts
FlexibleInstances
GADTs
LambdaCase
OverloadedStrings
PolyKinds
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TypeApplications
TypeFamilies
TypeOperators
UndecidableInstances
ViewPatterns
library
import:
warnings
, deps
, extensions
exposed-modules:
Generics.Diff.Special.Seq
Generics.Diff.Special.Map
Generics.Diff.Special.Set
Generics.Diff.Special.Tree
hs-source-dirs: src
default-language: Haskell2010
test-suite generic-diff-instances-test
import:
warnings
, deps
, extensions
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules:
Generics.Diff.UnitTestsSpec
Generics.Diff.PropertyTestsSpec
Util
build-tool-depends:
hspec-discover:hspec-discover
ghc-options: -Wno-orphans
build-depends:
, generic-diff
, generic-diff-instances
, QuickCheck
, hspec