packages feed

hpc-strobe-0.1: hpc-strobe.cabal

Name:               hpc-strobe
Version:            0.1
Synopsis:           Hpc-generated strobes for a running Haskell program
License:            BSD3
License-file:       LICENSE
Author:             Thorkil Naur
Maintainer:         naur@post11.tele.dk
Build-Type:         Simple
Cabal-Version:      >=1.2
Description:        A rudimentary library that demonstrates the
                    possibility of using Hpc (Haskell Program Coverage)
                    to inspect the state of a running Haskell program.
                    Use of the library involves a simple change of the
                    main function and also requires the program to be
                    enabled for hpc. At the time of writing, this means
                    using a fairly recent version of GHC and compiling
                    the Haskell code with the @-fhpc@ option.
Category:           Trace, Debug
extra-source-files: README
                    demonstration/StrobeClock.hs
                    demonstration/strobeHpcDiff1.sh
                    demonstration/showClock1.sh

Library
  Build-Depends:    base, hpc, filepath
  Exposed-modules:  Trace.Hpc.Strobe
  hs-source-dirs:   src
  ghc-options:      -Wall

--
-- Note: Checking the package on
-- http://hackage.haskell.org/packages/upload.html reports:
--
--   Exposed modules use unallocated top-level names: Trace
--
-- I feel somewhat justified in keeping this name, since the hpc
-- package itself uses Trace.Hpc.Tix and Trace.Hpc.Reflect. But I am
-- certainly open to suggested alternative names.
--
-- Regards Thorkil
--