Re: [Haskell-cafe] Wiki page for rewrite rules tips, types and tricks

2006-11-18 Thread Henk-Jan van Tuyl
Great page, I especially like the phrase: [...] changing a non-terminating program [...] into a much faster one [...] On Sat, 18 Nov 2006 06:27:34 +0100, Donald Bruce Stewart [EMAIL PROTECTED] wrote: After suggesting solutions based on rewrite rules to three different questions this week,

Re: [Haskell-cafe] Wiki page for rewrite rules tips, types and tricks

2006-11-18 Thread Neil Mitchell
Hi Great page, I especially like the phrase: [...] changing a non-terminating program [...] into a much faster one [...] And one important point: In general its a bad idea for rules to change the semantics (meaning) of your code in such a way. Consider someone using reverse . reverse to