packages feed

distributors-0.4.0.0: distributors.cabal

cabal-version: 2.2

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

name:           distributors
version:        0.4.0.0
synopsis:       Unifying Parsers, Printers & Grammars
description:    Distributors provides mathematically inspired abstractions for coders to write parsers that can also be inverted to printers.
category:       Profunctors, Optics, Parsing
homepage:       https://github.com/morphismtech/distributors#readme
bug-reports:    https://github.com/morphismtech/distributors/issues
author:         Eitan Chatav
maintainer:     eitan.chatav@gmail.com
copyright:      2026 Eitan Chatav
license:        BSD-3-Clause
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
extra-doc-files:
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/morphismtech/distributors

library
  exposed-modules:
      Control.Lens.Bifocal
      Control.Lens.Diopter
      Control.Lens.Grammar
      Control.Lens.Grammar.BackusNaur
      Control.Lens.Grammar.Boole
      Control.Lens.Grammar.Kleene
      Control.Lens.Grammar.Symbol
      Control.Lens.Grammar.Token
      Control.Lens.Grate
      Control.Lens.Internal.NestedPrismTH
      Control.Lens.Monocle
      Control.Lens.PartialIso
      Control.Lens.Wither
      Control.Monad.Fail.Try
      Data.Profunctor.Distributor
      Data.Profunctor.Filtrator
      Data.Profunctor.Grammar
      Data.Profunctor.Grammar.Parsector
      Data.Profunctor.Monadic
      Data.Profunctor.Monoidal
      Data.Profunctor.Separator
      Data.Traversable.Homogeneous
  other-modules:
      Paths_distributors
  autogen-modules:
      Paths_distributors
  hs-source-dirs:
      src
  default-extensions:
      AllowAmbiguousTypes
      Arrows
      ConstraintKinds
      DataKinds
      DefaultSignatures
      DeriveFoldable
      DeriveFunctor
      DeriveTraversable
      DeriveGeneric
      DerivingStrategies
      DerivingVia
      EmptyCase
      FlexibleContexts
      FlexibleInstances
      FunctionalDependencies
      GADTs
      GeneralizedNewtypeDeriving
      ImportQualifiedPost
      ImpredicativeTypes
      InstanceSigs
      LambdaCase
      MagicHash
      MonoLocalBinds
      QualifiedDo
      QuantifiedConstraints
      RankNTypes
      RecursiveDo
      ScopedTypeVariables
      StandaloneDeriving
      StandaloneKindSignatures
      TemplateHaskell
      TupleSections
      TypeApplications
      TypeFamilies
      TypeOperators
      UndecidableInstances
      UndecidableSuperClasses
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
  build-depends:
      MemoTrie >=0.6 && <1
    , adjunctions >=4.4 && <5
    , base >=4.15 && <5
    , bifunctors >=5.5 && <6
    , bytestring >=0.11 && <1
    , containers >=0.6 && <1
    , contravariant >=1.5 && <2
    , distributive >=0.6 && <1
    , lens >=5.0 && <6
    , mtl >=2.2 && <3
    , profunctors >=5.6 && <6
    , tagged >=0.8 && <1
    , template-haskell >=2.17 && <3
    , text ==2.*
    , th-abstraction >=0.4 && <1
    , vector >=0.12 && <1
    , witherable >=0.4 && <1
  default-language: Haskell2010

test-suite test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      Examples.Arithmetic
      Examples.Chain
      Examples.Json
      Examples.Lambda
      Examples.LenVec
      Examples.RegString
      Examples.SemVer
      Examples.SExpr
      Properties.Kleene
      Paths_distributors
  autogen-modules:
      Paths_distributors
  hs-source-dirs:
      test
  default-extensions:
      AllowAmbiguousTypes
      Arrows
      ConstraintKinds
      DataKinds
      DefaultSignatures
      DeriveFoldable
      DeriveFunctor
      DeriveTraversable
      DeriveGeneric
      DerivingStrategies
      DerivingVia
      EmptyCase
      FlexibleContexts
      FlexibleInstances
      FunctionalDependencies
      GADTs
      GeneralizedNewtypeDeriving
      ImportQualifiedPost
      ImpredicativeTypes
      InstanceSigs
      LambdaCase
      MagicHash
      MonoLocalBinds
      QualifiedDo
      QuantifiedConstraints
      RankNTypes
      RecursiveDo
      ScopedTypeVariables
      StandaloneDeriving
      StandaloneKindSignatures
      TemplateHaskell
      TupleSections
      TypeApplications
      TypeFamilies
      TypeOperators
      UndecidableInstances
      UndecidableSuperClasses
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
  build-depends:
      MemoTrie >=0.6 && <1
    , QuickCheck >=2.14 && <3
    , adjunctions >=4.4 && <5
    , base >=4.15 && <5
    , bifunctors >=5.5 && <6
    , bytestring >=0.11 && <1
    , containers >=0.6 && <1
    , contravariant >=1.5 && <2
    , distributive >=0.6 && <1
    , distributors
    , doctest >=0.18 && <1
    , hspec >=2.7 && <3
    , lens >=5.0 && <6
    , mtl >=2.2 && <3
    , profunctors >=5.6 && <6
    , tagged >=0.8 && <1
    , template-haskell >=2.17 && <3
    , text ==2.*
    , th-abstraction >=0.4 && <1
    , vector >=0.12 && <1
    , witherable >=0.4 && <1
  default-language: Haskell2010