packages feed

polytropos-profunctors-0.1.0.4 / polytropos-profunctors.cabal

cabal-version: 3.0name: polytropos-profunctorsversion: 0.1.0.4synopsis: Pure profunctor optics for polytropos open records and variantsdescription:  Integration between <https://hackage.haskell.org/package/polytropos polytropos> and the  <https://hackage.haskell.org/package/profunctors profunctors> ecosystem.  Provides pure profunctor lenses and prisms ('Polytropos.Profunctors.Lens', 'Polytropos.Profunctors.Prism')  operating directly over Polytropos's unboxed 'Data.Primitive.SmallArray.SmallArray' memory layout:  * 'Polytropos.Profunctors.fieldLens' for record fields via compile-time 'Polytropos.Core.FieldIndex'.  * 'Polytropos.Profunctors.ctorPrism' for variant constructors via 'Polytropos.Core.ConstructorIndex'.  * Zero-overhead 'Polytropos.Profunctors.slotLens' and 'Polytropos.Profunctors.variantPrism' indexed by array slots and constructor tags.  Start at the front door module "Polytropos.Profunctors" for complete documentation,  usage guidelines, and worked examples.license: EUPL-1.2 OR Apache-2.0license-file: LICENSEauthor: Nadia Yvette Chambersmaintainer: nadia.yvette.chambers@ik.mecategory: Optics, Data, Controlhomepage: https://github.com/NadiaYvette/polytroposbug-reports: https://github.com/NadiaYvette/polytropos/issuesextra-doc-files:    README.md  , CHANGELOG.mdbuild-type: Simplesource-repository head  type:     git  location: https://github.com/NadiaYvette/polytropos  subdir:   packages/polytropos-profunctorslibrary  default-language: GHC2021  hs-source-dirs: src  exposed-modules: Polytropos.Profunctors  ghc-options: -Wall  build-depends:    base >= 4.14 && < 5,    primitive >= 0.7 && < 1,    profunctors >= 5.6 && < 6,    tagged >= 0.8 && < 1,    polytropos-core >= 0.1.2.0 && < 0.2test-suite polytropos-profunctors-test  type: exitcode-stdio-1.0  default-language: GHC2021  hs-source-dirs: test  main-is: Main.hs  ghc-options: -Wall -fplugin=Polytropos.Plugin  build-depends:    base,    primitive,    profunctors,    tagged,    polytropos-core >= 0.1.2.0 && < 0.2,    polytropos-profunctors,    polytropos-plugin >= 0.1.2.0 && < 0.2,    tasty,    tasty-hunit