hpc-0.6.0.3: Code Coverage Library for Haskell

Safe HaskellSafe
LanguageHaskell98

Trace.Hpc.Util

Description

Minor utilities for the HPC tools.

Synopsis

Documentation

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 #

Minimal complete definition

toHash

Methods

toHash :: a -> Hash Source #

Instances

catchIO :: IO a -> (IOException -> IO a) -> IO a Source #