packages feed

edits-0.1.0.1: edits.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.0.
--
-- see: https://github.com/sol/hpack

name:           edits
version:        0.1.0.1
synopsis:       show the differences between 2 pieces of Text using the Levenshtein distance
description:    This library computes the minimum number of edit operations 'insert', 'delete', 'substitute' which are necessary to transform a piece of text into another. It then displays the parts which are different in brackets.
category:       Data
maintainer:     etorreborre@yahoo.com
license:        MIT
license-file:   LICENSE.txt
build-type:     Simple

source-repository head
  type: git
  location: https://github.com/etorreborre/edits

library
  exposed-modules:
      Data.Text.Costs
      Data.Text.Difference
      Data.Text.EditMatrix
      Data.Text.EditOperation
      Data.Text.Edits
      Data.Text.Shorten
      Data.Text.Token
  other-modules:
      Paths_edits
  hs-source-dirs:
      src
  default-extensions:
      LambdaCase
      MultiWayIf
      NoImplicitPrelude
      OverloadedStrings
      TypeFamilies
      TypeFamilyDependencies
      TypeOperators
  ghc-options: -Wall -Wcompat -Wincomplete-record-updates -fhide-source-paths -fprint-potential-instances -fno-warn-partial-type-signatures -optP-Wno-nonportable-include-path -Wincomplete-uni-patterns
  build-depends:
      base >=4.14 && <5
    , containers >=0.2 && <1
    , matrix >=0.3 && <1
    , primitive >=0.6 && <1
    , protolude ==0.3.*
    , text ==1.*
    , vector >=0.10 && <2
  default-language: GHC2021

test-suite spec
  type: exitcode-stdio-1.0
  main-is: test.hs
  other-modules:
      AutoDiscoveredSpecs
      Test.Data.Text.EditsSpec
      Test.Data.Text.ShortenSpec
      Paths_edits
  hs-source-dirs:
      test
  default-extensions:
      LambdaCase
      MultiWayIf
      NoImplicitPrelude
      OverloadedStrings
      TypeFamilies
      TypeFamilyDependencies
      TypeOperators
  ghc-options: -Wall -Wcompat -Wincomplete-record-updates -fhide-source-paths -fprint-potential-instances -fno-warn-partial-type-signatures -optP-Wno-nonportable-include-path -threaded -rtsopts -with-rtsopts=-N -fno-warn-orphans -fno-warn-missing-signatures -fno-warn-incomplete-uni-patterns -fno-warn-type-defaults -optP-Wno-nonportable-include-path
  build-depends:
      base >=4.14 && <5
    , containers >=0.2 && <1
    , edits
    , hedgehog >=1.0 && <2
    , matrix >=0.3 && <1
    , primitive >=0.6 && <1
    , protolude ==0.3.*
    , registry-hedgehog >=0.7 && <1
    , tasty ==1.*
    , tasty-discover >=2 && <5
    , tasty-hedgehog >=1.0 && <2.0
    , text ==1.*
    , vector >=0.10 && <2
  default-language: GHC2021