Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data NodeCounts entity
- data Node entity
- data Amount entity
- data Edges source target
- node :: Edges source target -> Node source -> NodeCounts source
- nodeTargets :: Edges source target -> Node source -> NodeCounts target
- targets :: Edges source target -> NodeCounts source -> NodeCounts target
Documentation
data NodeCounts entity Source #
Instances
Show (NodeCounts a) # | |
Defined in Edges.Instances showsPrec :: Int -> NodeCounts a -> ShowS # show :: NodeCounts a -> String # showList :: [NodeCounts a] -> ShowS # | |
Serialize (NodeCounts a) # | |
Defined in Edges.Instances.Cereal put :: Putter (NodeCounts a) # get :: Get (NodeCounts a) # |
nodeTargets :: Edges source target -> Node source -> NodeCounts target Source #
targets :: Edges source target -> NodeCounts source -> NodeCounts target Source #
Count the occurrences of targets based on the occurrences of sources.