| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Datatypes and file-access routines for the per-module (.mix) indexes used by Hpc.
Mix is the information about a modules static properties, like location of Tix's in a file.
Tab stops are the size of a tab in the provided line:column values.
hpc-tracer, this is 8 (a tab represents several spaces).type MixEntry = (HpcPos, BoxLabel) Source
| GuardBinBox | |
| CondBinBox | |
| QualBinBox |
| :: FilePath | Name of the target directory. |
| -> String | Name of the module for which the mix file is created. |
| -> Mix | The Mix data structure. |
| -> IO () |
Write a mix file to disk.
The following command creates the mix file under the location "/home/user/main/Main.mix"
mixCreate "/home/user/main" "Main" mix
Read a mix file.
createMixEntryDom :: Show a => [(HpcPos, a)] -> [MixEntryDom [a]] Source
type MixEntryDom a = Tree (HpcPos, a) Source
© 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-Mix.html