hpc-0.5.0.0: Code Coverage Library for HaskellContentsIndex
Trace.Hpc.Util
Description
Minor utilities for the HPC tools.
Synopsis
data HpcPos
fromHpcPos :: HpcPos -> (Int, Int, Int, Int)
toHpcPos :: (Int, Int, Int, Int) -> HpcPos
insideHpcPos :: HpcPos -> HpcPos -> Bool
class HpcHash a where
toHash :: a -> Hash
data Hash
Documentation
data HpcPos
HpcPos is an Hpc local rendition of a Span.
show/hide Instances
fromHpcPos :: HpcPos -> (Int, Int, Int, Int)
fromHpcPos explodes the HpcPos into line:column-line:colunm
toHpcPos :: (Int, Int, Int, Int) -> HpcPos
toHpcPos implodes to HpcPos, from line:column-line:colunm
insideHpcPos :: HpcPos -> HpcPos -> Bool
asks the question, is the first argument inside the second argument.
class HpcHash a where
Methods
toHash :: a -> Hash
show/hide Instances
data Hash
show/hide Instances
Eq Hash
Num Hash
Read Hash
Show Hash
Produced by Haddock version 0.8