repa-scalar 4.2.3.3 → 4.2.4.0
raw patch · 6 files changed
+29/−13 lines, 6 filesdep ~basedep ~bytestringdep ~primitivesetup-changednew-uploaderPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: base, bytestring, primitive, time, vector
API changes (from Hackage documentation)
- Data.Repa.Scalar.Product: instance (Data.Repa.Scalar.Product.IsKeyValues p, Data.Repa.Scalar.Product.IsKeyValues ps, Data.Repa.Scalar.Product.Keys p Data.Type.Equality.~ Data.Repa.Scalar.Product.Keys ps) => Data.Repa.Scalar.Product.IsKeyValues (p Data.Repa.Scalar.Product.:*: ps)
- Data.Repa.Scalar.Product: type family Mask' m t;
- Data.Repa.Scalar.Singleton.Nat: type family MulR x y :: N;
+ Data.Repa.Scalar.Product: instance (Data.Repa.Scalar.Product.IsKeyValues p, Data.Repa.Scalar.Product.IsKeyValues ps, Data.Repa.Scalar.Product.Keys p GHC.Types.~ Data.Repa.Scalar.Product.Keys ps) => Data.Repa.Scalar.Product.IsKeyValues (p Data.Repa.Scalar.Product.:*: ps)
+ Data.Repa.Scalar.Product: type Discard' n t;
+ Data.Repa.Scalar.Product: type Keys p;
+ Data.Repa.Scalar.Product: type Mask' m t;
+ Data.Repa.Scalar.Product: type Select' n t;
+ Data.Repa.Scalar.Product: type Values p;
+ Data.Repa.Scalar.Singleton.Nat: type AddR x y :: N;
+ Data.Repa.Scalar.Singleton.Nat: type MulR x y :: N;
Files
- Data/Repa/Scalar/Box.hs +4/−0
- Data/Repa/Scalar/Date32.hs +7/−1
- Data/Repa/Scalar/Product.hs +5/−0
- Data/Repa/Scalar/Singleton/Nat.hs +1/−0
- Setup.hs +0/−2
- repa-scalar.cabal +12/−10
Data/Repa/Scalar/Box.hs view
@@ -70,6 +70,10 @@ return $ MV_Box n as {-# INLINE basicUnsafeNew #-} + basicInitialize (MV_Box _n as)+ = GM.basicInitialize as+ {-# INLINE basicInitialize #-}+ basicUnsafeReplicate n (Box a) = do as <- GM.basicUnsafeReplicate n a return $ MV_Box n as
Data/Repa/Scalar/Date32.hs view
@@ -1,4 +1,4 @@-+{-# LANGUAGE CPP #-} module Data.Repa.Scalar.Date32 ( Date32 @@ -128,7 +128,13 @@ = Date32 (W32# (next' date)) {-# INLINE next #-} +-- Word32# used to wrap a Word# rather than Word32#+-- before base 4.16 (i.e. GHC 9.0 and older)+#if MIN_VERSION_base(4,16,0)+next' :: Word32# -> Word32#+#else next' :: Word# -> Word#+#endif next' !date | (yy, mm, dd) <- unpack (Date32 (W32# date)) , (yy', mm', dd')
Data/Repa/Scalar/Product.hs view
@@ -223,6 +223,11 @@ return $ MV_Prod n_ as bs {-# INLINE basicUnsafeNew #-} + basicInitialize (MV_Prod _ _as _bs)+ = do M.basicInitialize _as+ M.basicInitialize _bs + {-# INLINE basicInitialize #-}+ basicUnsafeReplicate n_ (a :*: b) = do as <- M.basicUnsafeReplicate n_ a bs <- M.basicUnsafeReplicate n_ b
Data/Repa/Scalar/Singleton/Nat.hs view
@@ -1,4 +1,5 @@ {-# OPTIONS_GHC -fno-warn-unticked-promoted-constructors #-}+{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE UndecidableInstances #-} -- | Singleton-typed natural numbers and arithmetic.
− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
repa-scalar.cabal view
@@ -1,11 +1,11 @@ Name: repa-scalar-Version: 4.2.3.3+Version: 4.2.4.0 License: BSD3 License-file: LICENSE Author: The Repa Development Team Maintainer: Ben Lippmeier <benl@ouroborus.net> Build-Type: Simple-Cabal-Version: >=1.6+Cabal-Version: 1.18 Stability: experimental Category: Data Structures Homepage: http://repa.ouroborus.net@@ -15,17 +15,19 @@ source-repository head type: git- location: https://github.com/DDCSF/repa.git+ location: https://github.com/haskell-repa/repa.git Library build-Depends:- base >= 4.9 && < 4.13,- primitive >= 0.6 && < 0.8,- vector >= 0.10 && < 0.13,- time >= 1.6 && < 1.9,- bytestring == 0.10.*,- double-conversion == 2.0.*+ base >= 4.9 && < 4.21,+ primitive >= 0.6 && <0.10,+ vector >= 0.11 && <0.14,+ time >= 1.6 && <1.15,+ bytestring >= 0.10 && <0.13,+ double-conversion >= 2.0 && <2.1 + default-language: Haskell2010+ exposed-modules: Data.Repa.Scalar.Singleton.Nat Data.Repa.Scalar.Singleton.Bool@@ -40,7 +42,7 @@ -Wall -fno-warn-missing-signatures -O2 - extensions:+ default-extensions: GADTs DataKinds MagicHash