4 ms·
Stack (haskellstack.org) has pretty much solved the problems associated with building directly from Hackage though. The biggest pain when developing Haskell cod
by ulrikrasmussen 9y ago
Stack (haskellstack.org) has pretty much solved the problems associated with building directly from Hackage though. The biggest pain when developing Haskell code continues to be the lack of good debugging facilities.
- js8 9y agoI am not really well versed in Haskell debugging, but a thought.. Current debuggers are built around very imperative notion of program state. I have breakpoints, I can look at variables (state in a given time).. What would debugging look like if we looked at it from the functional perspective? For example, execution "filters" instead of breakpoints. What happens if this function receives value that satisfies certain condition? Instead of variable watches, give out a breakdown of the data passed in and out from the function. Etc.