| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Debug.Hoed.CompTree
Contents
Synopsis
- type CompTree = Graph Vertex ()
- data Vertex
- = RootVertex
- | Vertex { }
- mkCompTree :: [CompStmt] -> Dependencies -> CompTree
- isRootVertex :: Vertex -> Bool
- vertexUID :: Vertex -> UID
- vertexRes :: Vertex -> String
- replaceVertex :: CompTree -> Vertex -> CompTree
- getJudgement :: Vertex -> Judgement
- setJudgement :: Vertex -> Judgement -> Vertex
- isRight :: Vertex -> Bool
- isWrong :: Vertex -> Bool
- isUnassessed :: Vertex -> Bool
- isAssisted :: Vertex -> Bool
- isInconclusive :: Vertex -> Bool
- isPassing :: Vertex -> Bool
- leafs :: CompTree -> [Vertex]
- data ConstantValue
- unjudgedCharacterCount :: CompTree -> Int
- data TraceInfo = TraceInfo {
- computations :: !SpanZipper
- dependencies :: !Dependencies
- traceInfo :: Verbosity -> Trace -> IO TraceInfo
- data Graph vertex arc = Graph {}
Documentation
Constructors
| RootVertex | |
| Vertex | |
Fields
| |
Instances
| Eq Vertex # | |
| Ord Vertex # | |
| Show Vertex # | |
| Generic Vertex # | |
| Serialize Vertex # | |
| NFData Vertex # | |
Defined in Debug.Hoed.CompTree | |
| Hashable Vertex # | |
Defined in Debug.Hoed.CompTree | |
| type Rep Vertex # | |
Defined in Debug.Hoed.CompTree type Rep Vertex = D1 (MetaData "Vertex" "Debug.Hoed.CompTree" "Hoed-0.5.1-H32clPszRWzKHFSRL0l4Ja" False) (C1 (MetaCons "RootVertex" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Vertex" PrefixI True) (S1 (MetaSel (Just "vertexStmt") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 CompStmt) :*: S1 (MetaSel (Just "vertexJmt") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Judgement))) | |
mkCompTree :: [CompStmt] -> Dependencies -> CompTree #
isRootVertex :: Vertex -> Bool #
replaceVertex :: CompTree -> Vertex -> CompTree #
getJudgement :: Vertex -> Judgement #
setJudgement :: Vertex -> Judgement -> Vertex #
isUnassessed :: Vertex -> Bool #
isAssisted :: Vertex -> Bool #
isInconclusive :: Vertex -> Bool #
data ConstantValue #
Constructors
| ConstantValue | |
| CVRoot | |
Instances
| Eq ConstantValue # | |
Defined in Debug.Hoed.CompTree Methods (==) :: ConstantValue -> ConstantValue -> Bool # (/=) :: ConstantValue -> ConstantValue -> Bool # | |
| Show ConstantValue # | |
Defined in Debug.Hoed.CompTree Methods showsPrec :: Int -> ConstantValue -> ShowS # show :: ConstantValue -> String # showList :: [ConstantValue] -> ShowS # | |
unjudgedCharacterCount :: CompTree -> Int #
Approximates the complexity of a computation tree by summing the length of the unjudged computation statements (i.e not Right or Wrong) in the tree.
Constructors
| TraceInfo | |
Fields
| |
Instances
| Generic (Graph vertex arc) | |
| (Serialize a, Serialize b) => Serialize (Graph a b) # | |
| type Rep (Graph vertex arc) | |
Defined in Data.Graph.Libgraph.Core type Rep (Graph vertex arc) = D1 (MetaData "Graph" "Data.Graph.Libgraph.Core" "libgraph-1.14-IjYxzy2QWeQJJ5hFS641UW" False) (C1 (MetaCons "Graph" PrefixI True) (S1 (MetaSel (Just "root") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 vertex) :*: (S1 (MetaSel (Just "vertices") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [vertex]) :*: S1 (MetaSel (Just "arcs") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Arc vertex arc])))) | |