Re: [Haskell] Evil code

2006-10-04 Thread David House
On 03/10/06, Thomas Davie <[EMAIL PROTECTED]> wrote: Do any of you have some examples of nasty uses of higher order code. For example CPS, or non-IO monads. Perhaps the IOHCC? Although that might be taking things too far. http://iohc.mgoetze.net/winners.html -- -David House, [EMAIL PROTECTE

Re: [Haskell] Evil code

2006-10-03 Thread Albert Lai
Thomas Davie <[EMAIL PROTECTED]> writes: > The evil code and CPSness were actually intended to be completely > separate entities. I needed (and to a lesser extent now still need), > examples that are (a) very higher order, and (b) evil and hard to > understand the runtime behaviour of. Generally

Re: [Haskell] Evil code

2006-10-03 Thread Thomas Davie
On 3 Oct 2006, at 23:09, Tony Morris wrote: [Tangent] Please excuse my ignorance, but it seems there is assumption of general acceptance that CPS incorporates "Evil code". Are you able to support this or refer to a document that does? Thanks for any pointers. Tony Morris http://tmorris.net/

Re: [Haskell] Evil code

2006-10-03 Thread Tony Morris
[Tangent] Please excuse my ignorance, but it seems there is assumption of general acceptance that CPS incorporates "Evil code". Are you able to support this or refer to a document that does? Thanks for any pointers. Tony Morris http://tmorris.net/ Thomas Davie wrote: > Hello list, > I am in t

[Haskell] Evil code

2006-10-03 Thread Thomas Davie
Hello list, I am in the process of testing a debugger, and need some examples to throw at it. It's based on hat, so the normal rules about nothing that uses glasgow extensions or ffi apply. But I'm hitting a bit of a wall. Do any of you have some examples of nasty uses of higher order