hpc-0.6.2.0: Code Coverage Library for Haskell
Safe HaskellSafe
LanguageHaskell98

Trace.Hpc.Mix

Description

Datatypes and file-access routines for the per-module (.mix) indexes used by Hpc.

Synopsis

Documentation

data Mix Source #

Mix is the information about a modules static properties, like location of Tix's in a file.

Tab stops are the size of a tab in the provided line:column values.

  • In GHC, this is 1 (a tab is just a character)
  • With hpc-tracer, this is 8 (a tab represents several spaces).

Instances

Instances details
Read Mix Source # 
Instance details

Defined in Trace.Hpc.Mix

Show Mix Source # 
Instance details

Defined in Trace.Hpc.Mix

Eq Mix Source # 
Instance details

Defined in Trace.Hpc.Mix

Methods

(==) :: Mix -> Mix -> Bool #

(/=) :: Mix -> Mix -> Bool #

data CondBox Source #

Instances

Instances details
Read CondBox Source # 
Instance details

Defined in Trace.Hpc.Mix

Show CondBox Source # 
Instance details

Defined in Trace.Hpc.Mix

Eq CondBox Source # 
Instance details

Defined in Trace.Hpc.Mix

Methods

(==) :: CondBox -> CondBox -> Bool #

(/=) :: CondBox -> CondBox -> Bool #

Ord CondBox Source # 
Instance details

Defined in Trace.Hpc.Mix

HpcHash CondBox Source # 
Instance details

Defined in Trace.Hpc.Mix

Methods

toHash :: CondBox -> Hash Source #

mixCreate Source #

Arguments

:: String

Dir Name

-> String

module Name

-> Mix

Mix DataStructure

-> IO () 

Create is mix file.

readMix Source #

Arguments

:: [String]

Dir Names

-> Either String TixModule

module wanted

-> IO Mix 

Read a mix file.