tober 2004 10:38:21 BST
To: Philip Wadler <[EMAIL PROTECTED]>
Cc: John Hughes <[EMAIL PROTECTED]>, [EMAIL PROTECTED], Simon Thompson <[EMAIL PROTECTED]>, Susan Eisenbach <[EMAIL PROTECTED]>
Subject: [Haskell] Re: elementary tracing for Haskell
Phil,
Are there any tools for
Phil,
Are there any tools for beginning programmers that give traces of
Haskell programs? I want something like the following. Given the
defintion
sum [] = 0
sum (x:xs) = x + sum xs
typing
sum [1,2,3]
should yield this trace
sum [1,2,3]
1 + sum [2,3]
1 + 2 + sum [3]