| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell98 |
Trace.Hpc.Tix
Description
Datatypes and file-access routines for the tick data file
(.tix) used by Hpc.
Synopsis
Documentation
Tix is the storage format for our dynamic information about
what boxes are ticked.
Instances
| Generic TixModule Source # | |
| Read TixModule Source # | |
| Show TixModule Source # | |
| NFData TixModule Source # | Since: 0.6.2.0 |
Defined in Trace.Hpc.Tix | |
| Eq TixModule Source # | |
| type Rep TixModule Source # | Since: 0.6.2.0 |
Defined in Trace.Hpc.Tix type Rep TixModule = D1 ('MetaData "TixModule" "Trace.Hpc.Tix" "hpc-0.7.0.1-3WlZAfJ6ooAErO2Dw0Lerc" 'False) (C1 ('MetaCons "TixModule" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Hash)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Integer])))) | |
tixModuleName :: TixModule -> String Source #
tixModuleHash :: TixModule -> Hash Source #
tixModuleTixs :: TixModule -> [Integer] Source #
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"