2009/4/28 Thomas Hartman tphya...@gmail.com
I suppose this means that the points-free/pattern binding-style
version is a bit less work for ghc to execute (fewer reductions),
whereas the version with lambda bound variables is easier to debug.
I don't think there is any (significant) difference
Most enlightening, thanks.
The same effect can be seen with Debug.Trace.trace around the two versions of f.
I suppose this means that the points-free/pattern binding-style
version is a bit less work for ghc to execute (fewer reductions),
whereas the version with lambda bound variables is easier
2009/4/25 Thomas Hartman tphya...@gmail.com
In the program below, can someone explain the following debugger output to
me?
After :continue, shouldn't I hit the f breakpoint two more times?
Why do I only hit the f breakpoint once?
Is this a problem in the debugger?
In the program below, can someone explain the following debugger output to me?
After :continue, shouldn't I hit the f breakpoint two more times?
Why do I only hit the f breakpoint once?
Is this a problem in the debugger?
thart...@ubuntu:~/haskell-learning/debuggercat debugger.hs
-- try