Re: [Haskell-cafe] Annotating calculations

2005-06-15 Thread Henning Thielemann
On Wed, 15 Jun 2005, Rene de Visser wrote: Hello, I have a somewhat complicated calculation programmed in Haskell. This calculation is coded without using monads. I want to also produce a report describing the details of this calculation for each particular set of inputs. e.g. Number of

Re: [Haskell-cafe] Annotating calculations

2005-06-15 Thread Rene de Visser
From: Henning Thielemann [EMAIL PROTECTED] On Wed, 15 Jun 2005, Rene de Visser wrote: I have a somewhat complicated calculation programmed in Haskell. This calculation is coded without using monads. I want to also produce a report describing the details of this calculation for each

Re: [Haskell-cafe] Annotating calculations

2005-06-15 Thread Rene de Visser
From: Henning Thielemann [EMAIL PROTECTED] On Wed, 15 Jun 2005, Rene de Visser wrote: You can put temporary values into a data structure. E.g. if you have an iteration don't write a recursion with a fixed abort criterion but write a function which maps the old value to the new one, then apply

Re: [Haskell-cafe] Annotating calculations

2005-06-15 Thread Graham Klyne
At 18:48 15/06/05 +0200, Rene de Visser wrote: From: Henning Thielemann [EMAIL PROTECTED] On Wed, 15 Jun 2005, Rene de Visser wrote: I have a somewhat complicated calculation programmed in Haskell. This calculation is coded without using monads. I want to also produce a report describing the