Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix liftI2 #6

Merged
merged 1 commit into from

1 participant

@bgamari
Collaborator

This caused a nasty loop

@bgamari bgamari merged commit 906d7da into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 22, 2013
  1. @bgamari

    Vector: default liftI2 was incorrect

    bgamari authored
    This caused a nasty loop
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Linear/Vector.hs
View
2  src/Linear/Vector.hs
@@ -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
Something went wrong with that request. Please try again.