packages feed

GPipe 2.0 → 2.0.1

raw patch · 2 files changed

+2/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

GPipe.cabal view
@@ -1,5 +1,5 @@ name:           GPipe
-version:        2.0
+version:        2.0.1
 cabal-version:  >= 1.8
 build-type:     Simple
 author:         Tobias Bexelius
src/Graphics/GPipe/Internal/PrimitiveStream.hs view
@@ -83,7 +83,7 @@         assignIxs :: Int -> Binding -> [Int] -> [Binding -> (IO VAOKey, IO ())] -> [(IO VAOKey, IO ())] 
         assignIxs n ix xxs@(x:xs) (f:fs) | x == n    = f ix : assignIxs (n+1) (ix+1) xs fs
                                          | otherwise = assignIxs (n+1) ix xxs fs
-        assignIxs _ _ _ [] = []                                          
+        assignIxs _ _ [] _ = []                                          
         assignIxs _ _ _ _ = error "Too few attributes generated in toPrimitiveStream"
                 
         attribs a binds = first sequence $ second sequence_ $ unzip $ assignIxs 0 0 binds $ execWriter (runStateT (mf a) 0)