hpc-0.6.1.0: 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
Read Tix # 
Instance details

Defined in Trace.Hpc.Tix

Show Tix # 
Instance details

Defined in Trace.Hpc.Tix

Eq Tix # 
Instance details

Defined in Trace.Hpc.Tix

Methods

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

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

data TixModule Source #

Constructors

TixModule String Hash Int [Integer] 

Instances

Instances details
Read TixModule # 
Instance details

Defined in Trace.Hpc.Tix

Show TixModule # 
Instance details

Defined in Trace.Hpc.Tix

Eq 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.