1. Aleksey Khudyakov
  2. fixed-vector

Commits

Aleksey Khudyakov  committed e772fe1 Merge

Merge pull request #5 from mjorlitzky/master

Fix ifoldr documentation.

  • Participants
  • Parent commits 7d91e99, 86240a2
  • Branches default

Comments (0)

Files changed (1)

File fixed-vector/Data/Vector/Fixed/Internal.hs

View file
  • Ignore whitespace
 foldMap f = T.foldMap f
           . C.cvec
 
--- | Left fold over vector
+-- | Right fold over vector
 ifoldr :: Vector v a => (Int -> a -> b -> b) -> b -> v a -> b
 {-# INLINE ifoldr #-}
 ifoldr f x = C.ifoldr f x