GHC doesn't compile under cygwin

2003-01-29 Thread Chris Clearwater
Hi, today I installed cygwin and downloaded the GHC source, however during compilation I get the errors: test: 504: unknown operand test: 500: unknown operand test: 504: unknown operand In addition,I get many Error [127] (ignored) and Error [1] (ignored) before finally quiting with the unknown

Lazy evaluation alternative

2003-01-24 Thread Chris Clearwater
I wonder if I could run an idea I've had by this list. It seems to me you could get some of the desired effects of lazy evaluation by using continuation passing style in code. For example, take this psuedo-code using CPS to represent an infinite data type. Using non-CPS this would be

Lazy evaluation alternative

2003-01-24 Thread Chris Clearwater
I wonder if I could run an idea I've had by this list. It seems to me you could get some of the desired effects of lazy evaluation by using continuation passing style in code. For example, take this psuedo-code using CPS to represent an infinite data type. Using non-CPS this would be

Re: Lazy evaluation alternative

2003-01-24 Thread Chris Clearwater
On Fri, Jan 24, 2003 at 01:51:57PM +0100, Jerzy Karczmarczuk wrote: Chris Clearwater wrote: It seems to me you could get some of the desired effects of lazy evaluation by using continuation passing style in code. For example, take this psuedo-code using CPS to represent an infinite data type

Re: Lazy evaluation alternative

2003-01-24 Thread Chris Clearwater
On Fri, Jan 24, 2003 at 03:07:48PM +0100, Thomas Johnsson wrote: Yes I am. But the + should be in CPS form anyways to be perfectly correct, so: natural n c = (+) n 1 (\m - c n : (natural m)) I think Jerzy (in his usual polite manner :-) refers to the every group has it's moshez

Re: Lazy evaluation alternative

2003-01-24 Thread Chris Clearwater
On Fri, Jan 24, 2003 at 09:18:47AM -0600, Kevin S. Millikin wrote: Chris == Chris Clearwater [EMAIL PROTECTED] writes: Chris LIAR. You want to steal my idea for yourself! It's MINE! :) I hate to be the one to break it to you, but we used to routinely show this trick to Intro to CS