Skip to content

Commit

Permalink
Vector: default liftI2 was incorrect
Browse files Browse the repository at this point in the history
This caused a nasty loop
  • Loading branch information
bgamari committed Mar 22, 2013
1 parent 48f9abe commit 2f66e04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Linear/Vector.hs
Expand Up @@ -148,7 +148,7 @@ class Functor f => Additive f where
liftI2 :: (a -> b -> c) -> f a -> f b -> f c
#ifndef HLINT
default liftI2 :: Applicative f => (a -> b -> c) -> f a -> f b -> f c
liftI2 = liftI2
liftI2 = liftA2
{-# INLINE liftI2 #-}
#endif

Expand Down

0 comments on commit 2f66e04

Please sign in to comment.