Skip to content

Commit

Permalink
foldl' and foldr' were not in the class in 7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ekmett committed Jul 10, 2015
1 parent a782a2a commit b5c26a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Linear/V.hs
Expand Up @@ -173,10 +173,12 @@ instance Foldable (V n) where
{-# INLINE foldr #-}
foldl f z (V as) = V.foldl f z as
{-# INLINE foldl #-}
#if __GLASGOW_HASKELL__ >= 706
foldr' f z (V as) = V.foldr' f z as
{-# INLINE foldr' #-}
foldl' f z (V as) = V.foldl' f z as
{-# INLINE foldl' #-}
#endif
foldr1 f (V as) = V.foldr1 f as
{-# INLINE foldr1 #-}
foldl1 f (V as) = V.foldl1 f as
Expand Down

0 comments on commit b5c26a7

Please sign in to comment.