nonempty-vector 0.2.0.1 → 0.2.0.2
raw patch · 2 files changed
+37/−41 lines, 2 filesdep −semigroupsdep ~basedep ~vector
Dependencies removed: semigroups
Dependency ranges changed: base, vector
Files
- README.md +0/−2
- nonempty-vector.cabal +37/−39
README.md view
@@ -6,8 +6,6 @@ There are no external dependencies that are not already in `base`. -- ### Motivation Every "container" in the Haskell ecosystem features a [non-empty variant](https://hackage.haskell.org/package/nonempty-containers), including the venerable [list](https://hackage.haskell.org/package/semigroups), aside from `vector`. Many (including myself) use `vector` for its incredible performance characteristics achieved over many years by the CLC and authors of the library. But many of us also want to adhere to the principle of least power, and not have to worry about whether `head` or `tail` (for example) are safe. This package addresses both of the previous points. No new pointer indirection is exposed by this library except at construction (and even then - `unsafe` constructors are supplied), with as much reuse of `vector`'s library as possible to make sure asymptotics stay the same.
nonempty-vector.cabal view
@@ -1,61 +1,59 @@-cabal-version: 1.24-name: nonempty-vector-version: 0.2.0.1-synopsis: Non-empty vectors+cabal-version: 2.0+name: nonempty-vector+version: 0.2.0.2+synopsis: Non-empty vectors description:- Performant non-empty mutable and immutable vectors. These vectors strive to implement- the common APIs seen in `vector` without any additional performance cost.-homepage: https://github.com/emilypi/nonempty-vector-bug-reports: https://github.com/emilypi/nonempty-vector/issues-license: BSD3-license-file: LICENSE-author: Emily Pillmore-maintainer: emilypi@cohomolo.gy-copyright: (c) 2019 Emily Pillmore-category: Data-build-type: Custom+ Performant non-empty mutable and immutable vectors.++homepage: https://github.com/emilypi/nonempty-vector+bug-reports: https://github.com/emilypi/nonempty-vector/issues+license: BSD3+license-file: LICENSE+author: Emily Pillmore+maintainer: emilypi@cohomolo.gy+copyright: (c) 2019 Emily Pillmore+category: Data+build-type: Custom extra-source-files: CHANGELOG.md README.md -tested-with: GHC ==8.8.1 || ==8.6.5 || ==8.6.3 || ==8.4.4 || ==8.4.3 || ==8.0.2-+tested-with:+ GHC ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.3 || ==8.10.1 source-repository head type: git location: https://github.com/emilypi/nonempty-vector.git - custom-setup setup-depends: base >=4.9 && <5 , Cabal , cabal-doctest - library- exposed-modules: Data.Vector.NonEmpty- , Data.Vector.NonEmpty.Mutable-- build-depends: base >=4.9 && <5- , deepseq- , primitive >=0.6 && <0.8- , semigroups >=0.17 && <0.20- , vector >=0.12 && <0.13+ exposed-modules:+ Data.Vector.NonEmpty+ Data.Vector.NonEmpty.Mutable - hs-source-dirs: src- default-language: Haskell2010- ghc-options: -Wall+ build-depends:+ base >=4.10 && <5+ , deepseq+ , primitive >=0.6 && <0.8+ , vector ^>=0.12 + hs-source-dirs: src+ default-language: Haskell2010+ ghc-options: -Wall test-suite doctests- default-language: Haskell2010- type: exitcode-stdio-1.0- main-is: doctests.hs-- build-depends: base >=4.9 && <5- , doctest+ default-language: Haskell2010+ type: exitcode-stdio-1.0+ main-is: doctests.hs+ build-depends:+ base >=4.10 && <5+ , doctest - hs-source-dirs: test- ghc-options: -Wall -threaded- x-doctest-options: --fast+ hs-source-dirs: test+ ghc-options: -Wall -threaded+ x-doctest-options: --fast