Certainly looks like a typo to me!

Peter Verswyvelen wrote:
While studying the vector space class in AFRP, I encountered the following
strange code:

class Floating a => VectorSpace v a | v -> a where
   ...
    v1 ^-^ v2 = v1 ^+^ v1 -- (negateVector v2)

I have no idea why the (negateVector v2) has been commented out, but surely
this must be a typo?

Cheers,
Peter

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to