HpcPos is an Hpc local rendition of a Span.
Modulehpc-0.7.0.2Haskell98
Trace.Hpc.Util
Minor utilities for the HPC tools.
- 2 types
- 1 class
- 6 values
- Packagehpc-0.7.0.2
- Exports9
- LanguageHaskell98
- LicenceBSD-3-Clause
- SourceUtil.hs
fromHpcPos explodes the HpcPos into line:column-line:column
toHpcPos implodes to HpcPos, from line:column-line:column
Predicate determining whether the first argument is inside the second argument.
Instances9HpcHash, …
HpcHash IntegerDefined in hpc-0.7.0.2 · Trace.Hpc.UtilHpcHash BoolDefined in hpc-0.7.0.2 · Trace.Hpc.UtilHpcHash CharDefined in hpc-0.7.0.2 · Trace.Hpc.UtilHpcHash IntDefined in hpc-0.7.0.2 · Trace.Hpc.UtilHpcHash BoxLabelDefined in hpc-0.7.0.2 · Trace.Hpc.MixHpcHash CondBoxDefined in hpc-0.7.0.2 · Trace.Hpc.MixHpcHash HpcPosDefined in hpc-0.7.0.2 · Trace.Hpc.UtilHpcHash a => HpcHash [a]Defined in hpc-0.7.0.2 · Trace.Hpc.Util(HpcHash a, HpcHash b) => HpcHash (a, b)Defined in hpc-0.7.0.2 · Trace.Hpc.Util
Instances7Eq, Num, Read, Show, Generic, NFData, …
Eq HashDefined in hpc-0.7.0.2 · Trace.Hpc.UtilNum HashDefined in hpc-0.7.0.2 · Trace.Hpc.UtilRead HashDefined in hpc-0.7.0.2 · Trace.Hpc.UtilShow HashDefined in hpc-0.7.0.2 · Trace.Hpc.UtilGeneric HashDefined in hpc-0.7.0.2 · Trace.Hpc.UtilNFData HashDefined in hpc-0.7.0.2 · Trace.Hpc.Utiltype Rep Hash = D1 ('MetaDataDefined in hpc-0.7.0.2 · Trace.Hpc.Util"Hash"
"Trace.Hpc.Util"
"hpc-0.7.0.2-c55e"
'True) (C1 ('MetaCons"Hash"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32)))
Read a file strictly, as opposed to how readFile does it using lazy IO, but also disregard system locale and assume that the file is encoded in UTF-8. Haskell source files are expected to be encoded in UTF-8 by GHC.
Write file in UTF-8 encoding. Parent directory will be created if missing.