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)
Hi Peter,
Oops!
Yes, as Paul says, clearly an error.
My best guess is that it was commented out at some point for testing
something, and then forgotten!
The error does not occur in my local copy of the code, so a version
skew problem to boot, I'm afraid.
Best,
/Henrik
--
Henrik Nilsson
; haskell-cafe@haskell.org
Subject: Re: [Haskell-cafe] Yampa / AFRPVectorSpace.hs
Hi Peter,
Oops!
Yes, as Paul says, clearly an error.
My best guess is that it was commented out at some point for testing
something, and then forgotten!
The error does not occur in my local copy of the code, so a version
On Dec 17, 2007, at 4:30 PM, Peter Verswyvelen wrote:
Maybe you could place Yampa in a Darcs depot?
darcs get http://wagerlabs.com/yampa
I think we should move it to Google Code, though.
--
http://wagerlabs.com
___
Haskell-Cafe mailing list
joelr1:
On Dec 17, 2007, at 4:30 PM, Peter Verswyvelen wrote:
Maybe you could place Yampa in a Darcs depot?
darcs get http://wagerlabs.com/yampa
I think we should move it to Google Code, though.
How about code.haskell.org ?
Get yr accounts here,
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?