Re: [Haskell-cafe] Yampa / AFRPVectorSpace.hs

2007-12-17 Thread Paul Hudak

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
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Yampa / AFRPVectorSpace.hs

2007-12-17 Thread Henrik Nilsson

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
School of Computer Science and Information Technology
The University of Nottingham
[EMAIL PROTECTED]

This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


RE: [Haskell-cafe] Yampa / AFRPVectorSpace.hs

2007-12-17 Thread Peter Verswyvelen
Maybe you could place Yampa in a Darcs depot? 

I will have some time now to study Yampa and apps again. To train myself, I
would try to make a simple bouncing ball, then a Pong like game, and then I
would like to convert the C++ minigames I made for my students. These might
serve as simple tutorials for other people? After revision of course,
because I'm a newbie, so you can expect some horrible Haskell code ;)

Cheers,
Peter

-Original Message-
From: Henrik Nilsson [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 17, 2007 5:05 PM
To: [EMAIL PROTECTED]
Cc: Peter Verswyvelen; 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
skew problem to boot, I'm afraid.

Best,

/Henrik

-- 
Henrik Nilsson
School of Computer Science and Information Technology
The University of Nottingham
[EMAIL PROTECTED]

This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Yampa / AFRPVectorSpace.hs

2007-12-17 Thread Joel Reymont

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
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Yampa / AFRPVectorSpace.hs

2007-12-17 Thread Don Stewart
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,

http://community.haskell.org/admin/

-- Don
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Yampa / AFRPVectorSpace.hs

2007-12-15 Thread Peter Verswyvelen
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
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe