Name: sparsebit Synopsis: Sparse bitmaps for pattern match coverage Version: 0.5 Homepage: http://kyagrd.dyndns.org/wiki/SparseBitmapsForPatternMatchCoverage Category: Development,Data Structures License: BSD3 License-file: LICENSE Author: Ahn, Ki Yung Maintainer: Ahn, Ki Yung Build-Type: Simple Cabal-Version: >=1.2 extra-source-files: Type.hs TestType.hs README Description: Pattern matching coverage over Algebraic Data Types(ADTs) has most often been studied in the context of pattern compilation algorithms. However, it is worth considering the pattern matching coverage problem in isolation, since general solutions will be independent of the specifics of any implementation or language. We define an intuitive and mathematically well-established bit masking semantics for pattern match coverage. We design and implement a sparse bitmap data structure, which realizes this semantics in a compact and flexible manner. This bitmap data structure supports computing coverage solutions of large programs incrementally from coverage solutions of sub-programs. It can also be used as a common data representation for pattern coverage shared between different tools (e.g., compilers, linting tools, software analysis tools) that need pattern match coverage information. Library Build-Depends: base,haskell98 Exposed-modules: Data.SparseBIT ghc-options: -Wall