packages feed

orthotope 0.1.0.1 → 0.1.1.0

raw patch · 12 files changed

+13/−38 lines, 12 filesdep ~basePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: base

API changes (from Hackage documentation)

- Data.Array.Dynamic: toArrayG :: Array a -> Array Vector a
- Data.Array.DynamicS: toArrayG :: Array a -> Array Vector a
- Data.Array.DynamicU: toArrayG :: Array a -> Array Vector a
- Data.Array.Internal.Dynamic: toArrayG :: Array a -> Array Vector a
- Data.Array.Internal.DynamicS: toArrayG :: Array a -> Array Vector a
- Data.Array.Internal.DynamicU: toArrayG :: Array a -> Array Vector a
- Data.Array.Internal.Ranked: toArrayG :: Array r a -> Array r Vector a
- Data.Array.Internal.RankedS: toArrayG :: Array r a -> Array r Vector a
- Data.Array.Internal.RankedU: toArrayG :: Array r a -> Array r Vector a
- Data.Array.Internal.Shaped: toArrayG :: Array sh a -> Array sh Vector a
- Data.Array.Internal.ShapedS: toArrayG :: Array sh a -> Array sh Vector a
- Data.Array.Internal.ShapedU: toArrayG :: Array sh a -> Array sh Vector a
- Data.Array.Ranked: toArrayG :: Array r a -> Array r Vector a
- Data.Array.RankedS: toArrayG :: Array r a -> Array r Vector a
- Data.Array.RankedU: toArrayG :: Array r a -> Array r Vector a
- Data.Array.Shaped: toArrayG :: Array sh a -> Array sh Vector a
- Data.Array.ShapedS: toArrayG :: Array sh a -> Array sh Vector a
- Data.Array.ShapedU: toArrayG :: Array sh a -> Array sh Vector a

Files

CHANGELOG.md view
@@ -3,3 +3,11 @@ #### 0.1.0.0  - Initial version++#### 0.1.0.1++- Relax base library constraints++#### 0.1.1.0++- Remove toArrayG function and add some documentation.
Data/Array/Internal.hs view
@@ -45,6 +45,8 @@ -- constraint on the elements, which VecElem allows you to express. -- For vector types that don't need the constraint it can be set -- to some dummy class.+-- | The 'Vector' class is the interface to the underlying storage for the arrays.+-- The operations map straight to operations for 'Vector'. class Vector v where   type VecElem v :: Type -> Constraint   vIndex    :: (VecElem v a) => v a -> Int -> a@@ -134,6 +136,7 @@  instance NFData (v a) => NFData (T v a) +-- | The shape of an array is a list of its dimensions. type ShapeL = [Int]  badShape :: ShapeL -> Bool
Data/Array/Internal/Dynamic.hs view
@@ -23,7 +23,6 @@ {-# LANGUAGE UndecidableInstances #-} module Data.Array.Internal.Dynamic(   Array(..), Vector, ShapeL,-  toArrayG,   size, shapeL, rank,   toList, fromList, toVector, fromVector,   normalize,@@ -108,9 +107,6 @@   deriving (Pretty, Generic, Data)  instance NFData a => NFData (Array a)--toArrayG :: Array a -> G.Array V.Vector a-toArrayG = unA  instance (Show a) => Show (Array a) where   showsPrec p = showsPrec p . unA
Data/Array/Internal/DynamicS.hs view
@@ -25,7 +25,6 @@ {-# LANGUAGE UndecidableInstances #-} module Data.Array.Internal.DynamicS(   Array(..), Vector, ShapeL, V.Storable, Unbox,-  toArrayG,   size, shapeL, rank,   toList, fromList, toVector, fromVector,   normalize,@@ -115,9 +114,6 @@   deriving (Pretty, Generic, Data)  instance NFData a => NFData (Array a)--toArrayG :: Array a -> G.Array V.Vector a-toArrayG = unA  instance (Show a, Unbox a) => Show (Array a) where   showsPrec p = showsPrec p . unA
Data/Array/Internal/DynamicU.hs view
@@ -24,7 +24,6 @@ {-# LANGUAGE UndecidableInstances #-} module Data.Array.Internal.DynamicU(   Array(..), Vector, ShapeL, Unbox,-  toArrayG,   size, shapeL, rank,   toList, fromList, toVector, fromVector,   normalize,@@ -112,9 +111,6 @@   deriving (Pretty, Generic, Data)  instance NFData a => NFData (Array a)--toArrayG :: Array a -> G.Array V.Vector a-toArrayG = unA  instance (Show a, Unbox a) => Show (Array a) where   showsPrec p = showsPrec p . unA
Data/Array/Internal/Ranked.hs view
@@ -29,7 +29,6 @@ {-# LANGUAGE UndecidableInstances #-} module Data.Array.Internal.Ranked(   Array(..), Vector, ShapeL,-  toArrayG,   size, shapeL, rank,   toList, fromList, toVector, fromVector,   normalize,@@ -66,9 +65,6 @@   deriving (Pretty, Generic, Data)  instance NFData a => NFData (Array n a)--toArrayG :: Array r a -> G.Array r V.Vector a-toArrayG = unA  instance (Show a) => Show (Array n a) where   showsPrec p = showsPrec p . unA
Data/Array/Internal/RankedS.hs view
@@ -29,7 +29,6 @@ {-# LANGUAGE UndecidableInstances #-} module Data.Array.Internal.RankedS(   Array(..), Vector, ShapeL, Unbox,-  toArrayG,   size, shapeL, rank,   toList, fromList, toVector, fromVector,   normalize,@@ -69,9 +68,6 @@   deriving (Pretty, Generic, Data)  instance NFData a => NFData (Array n a)--toArrayG :: Array r a -> G.Array r V.Vector a-toArrayG = unA  instance (Show a, Unbox a) => Show (Array n a) where   showsPrec p = showsPrec p . unA
Data/Array/Internal/RankedU.hs view
@@ -29,7 +29,6 @@ {-# LANGUAGE UndecidableInstances #-} module Data.Array.Internal.RankedU(   Array(..), Vector, ShapeL, Unbox,-  toArrayG,   size, shapeL, rank,   toList, fromList, toVector, fromVector,   normalize,@@ -68,9 +67,6 @@   deriving (Pretty, Generic, Data)  instance NFData a => NFData (Array n a)--toArrayG :: Array r a -> G.Array r V.Vector a-toArrayG = unA  instance (Show a, Unbox a) => Show (Array n a) where   showsPrec p = showsPrec p . unA
Data/Array/Internal/Shaped.hs view
@@ -29,7 +29,6 @@ module Data.Array.Internal.Shaped(   Array(..), Shape(..), Size, Rank, Vector, ShapeL,   Window, Stride, Permute, Permutation, ValidDims,-  toArrayG,   size, shapeL, rank,   toList, fromList, toVector, fromVector,   normalize,@@ -66,9 +65,6 @@   deriving (Pretty, Generic, Data)  instance NFData a => NFData (Array sh a)--toArrayG :: Array sh a -> G.Array sh V.Vector a-toArrayG = unA  instance (Show a, Shape sh) => Show (Array sh a) where   showsPrec p = showsPrec p . unA
Data/Array/Internal/ShapedS.hs view
@@ -30,7 +30,6 @@ module Data.Array.Internal.ShapedS(   Array(..), Shape(..), Size, Rank, Vector, ShapeL, Unbox,   Window, Stride, Permute, Permutation, ValidDims,-  toArrayG,   size, shapeL, rank,   toList, fromList, toVector, fromVector,   normalize,@@ -70,9 +69,6 @@   deriving (Pretty, Generic, Data)  instance NFData a => NFData (Array sh a)--toArrayG :: Array sh a -> G.Array sh V.Vector a-toArrayG = unA  instance (Unbox a, Show a, Shape sh) => Show (Array sh a) where   showsPrec p = showsPrec p . unA
Data/Array/Internal/ShapedU.hs view
@@ -30,7 +30,6 @@ module Data.Array.Internal.ShapedU(   Array(..), Shape(..), Size, Rank, Vector, ShapeL, Unbox,   Window, Stride, Permute, Permutation, ValidDims,-  toArrayG,   size, shapeL, rank,   toList, fromList, toVector, fromVector,   normalize,@@ -68,9 +67,6 @@   deriving (Pretty, Generic, Data)  instance NFData a => NFData (Array sh a)--toArrayG :: Array sh a -> G.Array sh V.Vector a-toArrayG = unA  instance (Unbox a, Show a, Shape sh) => Show (Array sh a) where   showsPrec p = showsPrec p . unA
orthotope.cabal view
@@ -1,5 +1,5 @@ name:                orthotope-version:             0.1.0.1+version:             0.1.1.0 synopsis:            Multidimensional arrays inspired by APL license:             Apache license-file:        LICENSE@@ -54,7 +54,7 @@                      , Data.Array.Internal.ShapedS                      , Data.Array.Internal.ShapedU -  build-depends:       base >= 4.10 && < 4.17+  build-depends:       base >= 4.12 && < 4.18                      , deepseq                      , dlist                      , pretty