| Safe Haskell | Safe |
|---|---|
| Language | Haskell98 |
Trace.Hpc.Util
Description
Minor utilities for the HPC tools.
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:colunm
toHpcPos :: (Int, Int, Int, Int) -> HpcPos Source
toHpcPos implodes to HpcPos, from line:column-line:colunm
insideHpcPos :: HpcPos -> HpcPos -> Bool Source
Predicate determining whether the first argument is inside the second argument.