debug
debug copied to clipboard
Haskell library for debugging
I'm trying to use `debug` to instrument a function. I have followed the instructions, so the top of my source file looks like this: ```haskell {-# LANGUAGE TemplateHaskell, ViewPatterns, PartialTypeSignatures...
I'm getting the following when trying to instrument an entire file: ``` /home/george/haskell-tinywl//tmp/ghc23679_0/ghc_1.hspp:708:64: error : mdo, monad comprehension and [: :] not (yet) handled by Template Haskell ``` I use...
Hi, first let me thank you for this amazing tool. Regarding the quicksort example, if I use this inside a stack setup the intermediate values like lt, gt are not...
The [summary shown on hackage](http://hackage.haskell.org/package/debug) says "Full usage instructions are at [Debug](http://hackage.haskell.org/package/debug-0.1.1/docs/Debug.html)", but there is nothing there.
Currently only top-level declarations are trapped. However, it should be anything that looks lambda-like, so anything nested as well. e.g. ```haskell foo x y = ... where bar x y...
Can we reconfigure things so that only 'debugView' needs to be entered as per the current documentation?
The `DebugTrace` datatype does not provide an encoding for functions, so the Hoed backend has been representing them as strings, for instance: ``` $arg1 = { \ 'l' -> True,...
Specifically there are no docs for: ``` data Config class Observable a observer :: Observable a => a -> Parent -> a constrain :: Observable a => a -> a...
Consider the example ``` debug [d| listcomp y = sum [x | x x) [1..y] |] ``` `listmap 3` produces the same trace as `listcomp 3` The Hoed backend is...
Got another one for you. Try this: ```haskell debug [d| f :: Int -> m Int f _ = undefined |] ``` You get an `Overlapping instances for Show (m0...