RE: Avoiding use of the stack
"Josef Svenningsson" <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.hugs.user |
|---|---|
| Message-ID | <[email protected]> |
> -----Original Message----- > From: [email protected] [mailto:hugs-users- > [email protected]] On Behalf Of [email protected] > Sent: den 19 november 2004 00:37 > To: [email protected] > Subject: Re: [Hugs-users] Avoiding use of the stack > > G'day all. > > Quoting Scott Turner <[email protected]>: > > > testR2' a n = (testR2' $! (a+n)) (n-1) > > Proving, once again, that the associativity of $! is wrong. :-) > In what sense is it wrong, and in what sense does this example show that? Sorry if I'm missing something obvious here. /Josef