Skip to content
Convenience package to preserve debug ability via conditional builds
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Debug/Hoed
.gitignore
LICENSE
README.md
package.yaml
stack.yaml

README.md

NoHoed

NoHoed is a convenience package to preserve the ability to debug your code using Hoed. The package is designed to be used in conjunction with Cabal flags.

Example

The following excerpt of a Cabal descriptor illustrates the intended usage:

Flag Debug
  Description:         Enabled Hoed algorithmic debugging
  Default:             False
  Manual:              True

Library
    Exposed-Modules:     
                         Control.Arrow.Notation,
                         Control.Arrow.QuasiQuoter
    Build-Depends: base < 5,
                   array,
                   containers,
                   haskell-src-exts,
                   haskell-src-meta
    if flag(Debug)
       Build-Depends:       Hoed
       cpp-options:         -DDEBUG
    else
       Build-Depends:       NoHoed
You can’t perform that action at this time.