Re: Ex 9.9 in Paul Hudak's book

2002-04-02 Thread Ludovic Kuty
At 10:41 1/04/2002 -0500, Paul Hudak wrote: It's really not as obscure as it first seems. A fixpoint of a function foo is a value x such that foo x = x. The fix operator tells us one way (not the only way) to generate such a fixpoint: fix foo = foo (fix foo) Note from this equation that

Question about something in Hudak's book

2002-03-12 Thread Ludovic Kuty
polyArea (v1:v2:v3:vs') = triArea v1 v2 v3 + polyArea(v3:vs') polyArea _ = 0 Is it an idiom or some sort of optimization ? Or just the way he likes it ? TIA Ludovic Kuty ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http