vector-sized 1.2.0.0 → 1.2.0.1
raw patch · 5 files changed
+94/−43 lines, 5 filesdep ~primitive
Dependency ranges changed: primitive
Files
- changelog.md +5/−0
- default.nix +28/−0
- readme.md +2/−2
- shell.nix +5/−0
- vector-sized.cabal +54/−41
changelog.md view
@@ -1,10 +1,15 @@ # Change Log +## [1.2.0.1] - 2019-05-22++- Loosen upper bounds on dependencies+ ## [1.2.0.0] - 2018-12-05 - Add ``Hashable`` instances - Generalize ``concatMap`` - Various code and documentation cleanup+- Add ``SomeSized`` pattern ## [1.1.1.0] - 2018-11-13
+ default.nix view
@@ -0,0 +1,28 @@+{ pkgs ? import <nixpkgs> {}+, compiler ? "ghc864"+}:++let src = pkgs.nix-gitignore.gitignoreSource [] ./.;++ # Any overrides we require to the specified haskell package set+ haskellPackages = with pkgs.haskell.lib;+ pkgs.haskell.packages.${compiler}.override {+ overrides = self: super: {+ };+ };++ # Any packages to appear in the environment provisioned by nix-shell+ extraEnvPackages = with haskellPackages; [+ ];++ # Generate a haskell derivation using the cabal2nix tool on `package.yaml`+ drv = haskellPackages.callCabal2nix "" src {};++ # Insert the extra environment packages into the environment generated by+ # cabal2nix+ envWithExtras = pkgs.lib.overrideDerivation drv.env (attrs: {+ buildInputs = attrs.buildInputs ++ extraEnvPackages;+ });++in+ drv // { env = envWithExtras; }
readme.md view
@@ -1,7 +1,7 @@ # ``vector-sized`` [![Hackage][hackage-shield]][hackage] This package exports a newtype tagging the vectors from the [``vector``][1]-package with a type-level natural representing their sized. It also exports+package with a type-level natural representing their size. It also exports functions from ``vector`` whose size can be determined ahead of time, appropriately retyped. @@ -41,5 +41,5 @@ [5]: https://hackage.haskell.org/package/vector-0.12.0.1/docs/Data-Vector-Generic.html#t:Vector [6]: https://hackage.haskell.org/package/fixed-vector [7]: https://github.com/expipiplus1/vulkan/pull/1-[hackage-shield]: https://img.shields.io/badge/hackage-v1.1.10-blue.svg+[hackage-shield]: https://img.shields.io/badge/hackage-v1.2.0.0-blue.svg [hackage]: http://hackage.haskell.org/package/vector-sized
+ shell.nix view
@@ -0,0 +1,5 @@+{ pkgs ? import <nixpkgs> {}+, compiler ? "ghc864"+}:++(import ./default.nix { inherit pkgs compiler; }).env
vector-sized.cabal view
@@ -1,46 +1,59 @@-name: vector-sized-version: 1.2.0.0-synopsis: Size tagged vectors-description: Please see README.md-homepage: http://github.com/expipiplus1/vector-sized#readme-license: BSD3-license-file: LICENSE-author: Joe Hermaszewski-maintainer: whats.our.vector.victor@monoid.al-copyright: 2016 Joe Hermaszewski-category: Data-build-type: Simple-extra-source-files: readme.md- , changelog.md-cabal-version: >=1.10+-- This file has been generated from package.yaml by hpack version 0.27.0.+--+-- see: https://github.com/sol/hpack+--+-- hash: 9e10d73204f28676f1b2ea3f9f268f3bc030536ef316caacf208ba554a7d0e14 -library- hs-source-dirs: src- exposed-modules: Data.Vector.Sized- , Data.Vector.Generic.Sized- , Data.Vector.Generic.Sized.Internal- , Data.Vector.Storable.Sized- , Data.Vector.Mutable.Sized- , Data.Vector.Generic.Mutable.Sized- , Data.Vector.Storable.Mutable.Sized- , Data.Vector.Generic.Mutable.Sized.Internal- , Data.Vector.Unboxed.Sized- , Data.Vector.Unboxed.Mutable.Sized- build-depends: base >= 4.9 && < 5- , vector >= 0.11 && < 0.13- , deepseq >= 1.1 && < 1.5- , finite-typelits >= 0.1- , primitive >= 0.5 && < 0.7- , indexed-list-literals >= 0.2.0.0- , adjunctions >= 4.3 && < 4.5- , distributive >= 0.5 && < 0.7- , comonad >=4 && <6- , hashable >= 1.2.4.0 && < 1.3- default-language: Haskell2010+name: vector-sized+version: 1.2.0.1+synopsis: Size tagged vectors+description: Please see README.md+category: Data+homepage: https://github.com/expipiplus1/vector-sized#readme+bug-reports: https://github.com/expipiplus1/vector-sized/issues+author: Joe Hermaszewski+maintainer: whats.our.vector.victor@monoid.al+copyright: 2016 Joe Hermaszewski+license: BSD3+license-file: LICENSE+build-type: Simple+cabal-version: >= 1.10 - -- if impl(ghc >= 8.6)- -- default-extensions: NoStarIsType+extra-source-files:+ changelog.md+ default.nix+ readme.md+ shell.nix source-repository head- type: git+ type: git location: https://github.com/expipiplus1/vector-sized++library+ exposed-modules:+ Data.Vector.Sized+ Data.Vector.Generic.Sized+ Data.Vector.Generic.Sized.Internal+ Data.Vector.Storable.Sized+ Data.Vector.Mutable.Sized+ Data.Vector.Generic.Mutable.Sized+ Data.Vector.Storable.Mutable.Sized+ Data.Vector.Generic.Mutable.Sized.Internal+ Data.Vector.Unboxed.Sized+ Data.Vector.Unboxed.Mutable.Sized+ other-modules:+ Paths_vector_sized+ hs-source-dirs:+ src+ build-depends:+ adjunctions >=4.3 && <4.5+ , base >=4.9 && <5+ , comonad >=4 && <6+ , deepseq >=1.1 && <1.5+ , distributive >=0.5 && <0.7+ , finite-typelits >=0.1+ , hashable >=1.2.4.0 && <1.3+ , indexed-list-literals >=0.2.0.0+ , primitive >=0.5 && <0.8+ , vector >=0.11 && <0.13+ default-language: Haskell2010