[Haskell-cafe] Yampa / AFRPVectorSpace.hs
Paul Hudak
paul.hudak at yale.edu
Mon Dec 17 10:29:11 EST 2007
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
>
More information about the Haskell-Cafe
mailing list