packages feed

Cabal revisions of vector-builder-0.3.7

Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.

revision 1
-name:-  vector-builder-version:-  0.3.7-synopsis:-  Vector builder-description:-  An API for efficient and convenient construction of vectors.-  It provides the composable `Builder` abstraction, which has instances of the `Monoid` and `Semigroup` classes.-  .-  [Usage]-  .-  First you use the `Builder` abstraction to specify the structure of the vector.-  Then you execute the builder to actually produce the vector.-  .-  [Example]-  .-  The following code shows how you can efficiently concatenate different datastructures into a single immutable vector:-  .-  >-  >import qualified Data.Vector as A-  >import qualified VectorBuilder.Builder as B-  >import qualified VectorBuilder.Vector as C-  >-  >-  >myVector :: A.Vector a -> [a] -> a -> A.Vector a-  >myVector vector list element =-  >  C.build builder-  >  where-  >    builder =-  >      B.vector vector <>-  >      B.foldable list <>-  >      B.singleton element-category:-  Vector-homepage:-  https://github.com/nikita-volkov/vector-builder-bug-reports:-  https://github.com/nikita-volkov/vector-builder/issues-author:-  Nikita Volkov <nikita.y.volkov@mail.ru>-maintainer:-  Nikita Volkov <nikita.y.volkov@mail.ru>-copyright:-  (c) 2016, Nikita Volkov-license:-  MIT-license-file:-  LICENSE-build-type:-  Simple-cabal-version:-  >=1.10--source-repository head-  type:-    git-  location:-    git://github.com/nikita-volkov/vector-builder.git--library-  hs-source-dirs:-    library-  default-extensions:-    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples-  default-language:-    Haskell2010-  exposed-modules:-    VectorBuilder.Builder-    VectorBuilder.MVector-    VectorBuilder.Vector-    VectorBuilder.MonadPlus-    VectorBuilder.Alternative-  other-modules:-    VectorBuilder.Prelude-    VectorBuilder.Core.Update-    VectorBuilder.Core.Builder-  build-depends:-    vector >=0.11 && <0.13,-    semigroups >=0.16 && <0.20,-    base-prelude <2,-    base >=4.6 && <5--test-suite tests-  type:-    exitcode-stdio-1.0-  hs-source-dirs:-    tests-  main-is:-    Main.hs-  other-modules:-    Main.Sample-  default-extensions:-    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples-  default-language:-    Haskell2010-  build-depends:-    attoparsec >=0.13 && <0.14,-    QuickCheck >=2.8.1 && <3,-    quickcheck-instances >=0.3.11 && <0.4,-    rerebase <2,-    tasty >=0.12 && <2,-    tasty-hunit >=0.9 && <0.11,-    tasty-quickcheck >=0.9 && <0.11,-    vector-builder+name:
+  vector-builder
+version:
+  0.3.7
+x-revision: 1
+synopsis:
+  Vector builder
+description:
+  An API for efficient and convenient construction of vectors.
+  It provides the composable `Builder` abstraction, which has instances of the `Monoid` and `Semigroup` classes.
+  .
+  [Usage]
+  .
+  First you use the `Builder` abstraction to specify the structure of the vector.
+  Then you execute the builder to actually produce the vector.
+  .
+  [Example]
+  .
+  The following code shows how you can efficiently concatenate different datastructures into a single immutable vector:
+  .
+  >
+  >import qualified Data.Vector as A
+  >import qualified VectorBuilder.Builder as B
+  >import qualified VectorBuilder.Vector as C
+  >
+  >
+  >myVector :: A.Vector a -> [a] -> a -> A.Vector a
+  >myVector vector list element =
+  >  C.build builder
+  >  where
+  >    builder =
+  >      B.vector vector <>
+  >      B.foldable list <>
+  >      B.singleton element
+category:
+  Vector
+homepage:
+  https://github.com/nikita-volkov/vector-builder
+bug-reports:
+  https://github.com/nikita-volkov/vector-builder/issues
+author:
+  Nikita Volkov <nikita.y.volkov@mail.ru>
+maintainer:
+  Nikita Volkov <nikita.y.volkov@mail.ru>
+copyright:
+  (c) 2016, Nikita Volkov
+license:
+  MIT
+license-file:
+  LICENSE
+build-type:
+  Simple
+cabal-version:
+  >=1.10
+
+source-repository head
+  type:
+    git
+  location:
+    git://github.com/nikita-volkov/vector-builder.git
+
+library
+  hs-source-dirs:
+    library
+  default-extensions:
+    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
+  default-language:
+    Haskell2010
+  exposed-modules:
+    VectorBuilder.Builder
+    VectorBuilder.MVector
+    VectorBuilder.Vector
+    VectorBuilder.MonadPlus
+    VectorBuilder.Alternative
+  other-modules:
+    VectorBuilder.Prelude
+    VectorBuilder.Core.Update
+    VectorBuilder.Core.Builder
+  build-depends:
+    vector >=0.11 && <0.13,
+    semigroups >=0.16 && <0.20,
+    base-prelude <2,
+    base >=4.8 && <5
+
+test-suite tests
+  type:
+    exitcode-stdio-1.0
+  hs-source-dirs:
+    tests
+  main-is:
+    Main.hs
+  other-modules:
+    Main.Sample
+  default-extensions:
+    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
+  default-language:
+    Haskell2010
+  build-depends:
+    attoparsec >=0.13 && <0.14,
+    QuickCheck >=2.8.1 && <3,
+    quickcheck-instances >=0.3.11 && <0.4,
+    rerebase <2,
+    tasty >=0.12 && <2,
+    tasty-hunit >=0.9 && <0.11,
+    tasty-quickcheck >=0.9 && <0.11,
+    vector-builder