Spec-Zone.ru › Haskell 7

Trace.Hpc.Util

Safe Haskell Safe
Language Haskell98

Description

Minor utilities for the HPC tools.

data HpcPos Source

HpcPos is an Hpc local rendition of a Span.

Instances

Eq HpcPos
Ord HpcPos
Read HpcPos
Show HpcPos
HpcHash HpcPos

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

Methods

toHash :: a -> Hash Source

Instances

HpcHash Bool
HpcHash Char
HpcHash Int
HpcHash Integer
HpcHash HpcPos
HpcHash CondBox
HpcHash BoxLabel
HpcHash a => HpcHash [a]
(HpcHash a, HpcHash b) => HpcHash (a, b)

data Hash Source

Instances

Eq Hash
Num Hash
Read Hash
Show Hash

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).
https://downloads.haskell.org/~ghc/7.10.3/docs/html/libraries/hpc-0.6.0.2/Trace-Hpc-Util.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API