feldspar-language 0.3.1 → 0.3.2
raw patch · 3 files changed
+4/−8 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Feldspar.Range: instance [overlap ok] Arbitrary Word32
- Feldspar.Matrix: (.*) :: (ElemWise a, Numeric (Elem a)) => a -> a -> a
+ Feldspar.Matrix: (.*) :: (ElemWise a, Num (Elem a)) => a -> a -> a
- Feldspar.Matrix: (.+) :: (ElemWise a, Numeric (Elem a)) => a -> a -> a
+ Feldspar.Matrix: (.+) :: (ElemWise a, Num (Elem a)) => a -> a -> a
- Feldspar.Matrix: (.-) :: (ElemWise a, Numeric (Elem a)) => a -> a -> a
+ Feldspar.Matrix: (.-) :: (ElemWise a, Num (Elem a)) => a -> a -> a
Files
- Feldspar/Matrix.hs +3/−3
- Feldspar/Range.hs +0/−4
- feldspar-language.cabal +1/−1
Feldspar/Matrix.hs view
@@ -213,12 +213,12 @@ type Elem (Matrix a) = Data a elemWise = elemWise . elemWise -(.+) :: (ElemWise a, Numeric (Elem a)) => a -> a -> a+(.+) :: (ElemWise a, Num (Elem a)) => a -> a -> a (.+) = elemWise (+) -(.-) :: (ElemWise a, Numeric (Elem a)) => a -> a -> a+(.-) :: (ElemWise a, Num (Elem a)) => a -> a -> a (.-) = elemWise (-) -(.*) :: (ElemWise a, Numeric (Elem a)) => a -> a -> a+(.*) :: (ElemWise a, Num (Elem a)) => a -> a -> a (.*) = elemWise (*)
Feldspar/Range.hs view
@@ -490,10 +490,6 @@ randomR (l,u) g = (fromIntegral i,g') where (i :: Integer, g') = randomR (fromIntegral l,fromIntegral u) g -instance Arbitrary Word32 where- arbitrary = choose (0,maxBound)- shrink i = [i `div` 2, i `div` 2 - 1, i - 1]- prop_arith1 :: (forall a . Num a => a -> a) -> Range Int -> Property prop_arith1 op r = not (isEmpty r) ==>
feldspar-language.cabal view
@@ -1,5 +1,5 @@ name: feldspar-language-version: 0.3.1+version: 0.3.2 synopsis: A functional embedded language for DSP and parallelism description: Feldspar (Functional Embedded Language for DSP and PARallelism) is an embedded DSL for describing digital signal processing