
1 Apr
2009
1 Apr
'09
1:49 a.m.
2009/4/1 Daryoush Mehrtash
I am trying to write out the execution of the recursive calls in mkDList examplehttp:/http://www.haskell.org/haskellwiki/Tying_the_Knot/www.haskell.org/hask...for different size lists. Is there a way in ghc, or ghci where for a given list I can see the intermediate recursive and evaluation steps?
Have you tried stepping through the code using the GHCi debugger? http://www.haskell.org/ghc/docs/latest/html/users_guide/ghci-debugger.html If you have tried, but it didn't satisfy your needs, could you explain what is lacking?