/Haskell 7


Safe Haskell Safe
Language Haskell98


Minor utilities for the HPC tools.

data HpcPos Source

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


toHash :: a -> Hash Source

data Hash Source

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

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).