Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
The data type definition for Futhark.Analysis.Metrics, factored out to simplify the module import hierarchies when working on the test modules.
Synopsis
- newtype AstMetrics = AstMetrics (Map Text Int)
Documentation
newtype AstMetrics Source #
AST metrics are simply a collection from identifiable node names to the number of times that node appears.
AstMetrics (Map Text Int) |
Instances
Read AstMetrics Source # | |
Defined in Futhark.Analysis.Metrics.Type readsPrec :: Int -> ReadS AstMetrics # readList :: ReadS [AstMetrics] # readPrec :: ReadPrec AstMetrics # readListPrec :: ReadPrec [AstMetrics] # | |
Show AstMetrics Source # | |
Defined in Futhark.Analysis.Metrics.Type showsPrec :: Int -> AstMetrics -> ShowS # show :: AstMetrics -> String # showList :: [AstMetrics] -> ShowS # |