W3cubDocs

/Haskell 9

Trace.Hpc.Tix

Safe Haskell None
Language Haskell98

Description

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

data Tix Source

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

Constructors

Tix [TixModule]
Instances
Instances details
NFData Tix Source

Since: hpc-0.6.2.0

Instance details

Defined in Trace.Hpc.Tix

Methods

rnf :: Tix -> () Source

Generic Tix Source
Instance details

Defined in Trace.Hpc.Tix

Associated Types

type Rep Tix

Since: hpc-0.6.2.0

Instance details

Defined in Trace.Hpc.Tix

type Rep Tix = D1 ('MetaData "Tix" "Trace.Hpc.Tix" "hpc-0.7.0.1-78c9" 'False) (C1 ('MetaCons "Tix" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TixModule])))

Methods

from :: Tix -> Rep Tix x

to :: Rep Tix x -> Tix

Read Tix Source
Instance details

Defined in Trace.Hpc.Tix

Show Tix Source
Instance details

Defined in Trace.Hpc.Tix

Methods

showsPrec :: Int -> Tix -> ShowS

show :: Tix -> String

showList :: [Tix] -> ShowS

Eq Tix Source
Instance details

Defined in Trace.Hpc.Tix

Methods

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

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

type Rep Tix Source

Since: hpc-0.6.2.0

Instance details

Defined in Trace.Hpc.Tix

type Rep Tix = D1 ('MetaData "Tix" "Trace.Hpc.Tix" "hpc-0.7.0.1-78c9" 'False) (C1 ('MetaCons "Tix" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TixModule])))

data TixModule Source

Constructors

TixModule String Hash Int [Integer]
Instances
Instances details
NFData TixModule Source

Since: hpc-0.6.2.0

Instance details

Defined in Trace.Hpc.Tix

Methods

rnf :: TixModule -> () Source

Generic TixModule Source
Instance details

Defined in Trace.Hpc.Tix

Methods

from :: TixModule -> Rep TixModule x

to :: Rep TixModule x -> TixModule

Read TixModule Source
Instance details

Defined in Trace.Hpc.Tix

Show TixModule Source
Instance details

Defined in Trace.Hpc.Tix

Eq TixModule Source
Instance details

Defined in Trace.Hpc.Tix

Methods

(==) :: TixModule -> TixModule -> Bool

(/=) :: TixModule -> TixModule -> Bool

type Rep TixModule Source

Since: hpc-0.6.2.0

Instance details

Defined in Trace.Hpc.Tix

tixModuleName :: TixModule -> String Source

tixModuleHash :: TixModule -> Hash Source

tixModuleTixs :: TixModule -> [Integer] Source

readTix :: FilePath -> IO (Maybe Tix) Source

Read a .tix File.

writeTix :: FilePath -> Tix -> IO () Source

Write a .tix File.

getTixFileName :: FilePath -> FilePath Source

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

getTixFileName "example.hs" == "example.tix"
getTixFileName "example.tar.gz" == "example.tar.tix"
getTixFileName "example.tix" == "example.tix"

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/9.12.1/docs/libraries/hpc-0.7.0.1-78c9/Trace-Hpc-Tix.html