1. Aleksey Khudyakov
  2. fixed-vector

Commits

Aleksey Khudyakov  committed ce0f2ca

Tidy up

  • Participants
  • Parent commits 2f569c6
  • Branches version-0.5

Comments (0)

Files changed (1)

File Data/Vector/Fixed/Cont.hs

View file
 
 
 -- | Twan van Laarhoven lens for continuation based vector
-element :: forall n a f. (Arity n, Functor f)
+element :: (Arity n, Functor f)
         => Int -> (a -> f a) -> ContVec n a -> f (ContVec n a)
 {-# INLINE element #-}
 element i f v = inspect v