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

Trace.Hpc.Tix

Description

Datatypes and file-access routines for the tick data file (.tix) used by Hpc.

Synopsis

Documentation

data Tix Source #

Tix is the storage format for our dynamic information about what boxes are ticked.

Constructors

Tix [TixModule] 

Instances

Instances details
Eq Tix # 
Instance details

Defined in Trace.Hpc.Tix

Methods

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

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

Read Tix # 
Instance details

Defined in Trace.Hpc.Tix

Show Tix # 
Instance details

Defined in Trace.Hpc.Tix

data TixModule Source #

Constructors

TixModule String Hash Int [Integer] 

Instances

Instances details
Eq TixModule # 
Instance details

Defined in Trace.Hpc.Tix

Read TixModule # 
Instance details

Defined in Trace.Hpc.Tix

Show TixModule # 
Instance details

Defined in Trace.Hpc.Tix

readTix :: String -> IO (Maybe Tix) Source #

Read a .tix File.

writeTix :: String -> Tix -> IO () Source #

Write a .tix File.

getTixFileName :: String -> String Source #

getTixFullName takes a binary or .tix-file name, and normalizes it into a .tix-file name.