Safe Haskell | Trustworthy |
---|---|
Language | Haskell98 |
Minor utilities for the HPC tools.
Synopsis
Documentation
HpcPos
is an Hpc local rendition of a Span.
fromHpcPos :: HpcPos -> (Int, Int, Int, Int) Source #
fromHpcPos
explodes the HpcPos into line:column-line:column
toHpcPos :: (Int, Int, Int, Int) -> HpcPos Source #
toHpcPos
implodes to HpcPos, from line:column-line:column
insideHpcPos :: HpcPos -> HpcPos -> Bool Source #
Predicate determining whether the first argument is inside the second argument.
class HpcHash a where Source #
Instances
HpcHash BoxLabel Source # | |
HpcHash CondBox Source # | |
HpcHash HpcPos Source # | |
HpcHash Integer Source # | |
HpcHash Bool Source # | |
HpcHash Char Source # | |
HpcHash Int Source # | |
HpcHash a => HpcHash [a] Source # | |
Defined in Trace.Hpc.Util | |
(HpcHash a, HpcHash b) => HpcHash (a, b) Source # | |
Defined in Trace.Hpc.Util |
Instances
Generic Hash Source # | |||||
Defined in Trace.Hpc.Util
| |||||
Num Hash Source # | |||||
Read Hash Source # | |||||
Show Hash Source # | |||||
NFData Hash Source # | Since: hpc-0.6.2.0 | ||||
Defined in Trace.Hpc.Util | |||||
Eq Hash Source # | |||||
type Rep Hash Source # | Since: hpc-0.6.2.0 | ||||
Defined in Trace.Hpc.Util |