| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
IntLike.Graph
Documentation
newtype IntLikeGraph x Source #
Constructors
| IntLikeGraph | |
Fields | |
Instances
| Coercible x Int => Graph (IntLikeGraph x) Source # | |
Defined in IntLike.Graph Associated Types type Vertex (IntLikeGraph x) # Methods empty :: IntLikeGraph x # vertex :: Vertex (IntLikeGraph x) -> IntLikeGraph x # overlay :: IntLikeGraph x -> IntLikeGraph x -> IntLikeGraph x # connect :: IntLikeGraph x -> IntLikeGraph x -> IntLikeGraph x # | |
| Show (IntLikeGraph x) Source # | |
Defined in IntLike.Graph Methods showsPrec :: Int -> IntLikeGraph x -> ShowS # show :: IntLikeGraph x -> String # showList :: [IntLikeGraph x] -> ShowS # | |
| NFData (IntLikeGraph x) Source # | |
Defined in IntLike.Graph Methods rnf :: IntLikeGraph x -> () # | |
| Eq (IntLikeGraph x) Source # | |
Defined in IntLike.Graph Methods (==) :: IntLikeGraph x -> IntLikeGraph x -> Bool # (/=) :: IntLikeGraph x -> IntLikeGraph x -> Bool # | |
| type Vertex (IntLikeGraph x) Source # | |
Defined in IntLike.Graph | |
adjacencyIntMultiMap :: IntLikeGraph x -> IntLikeMultiMap x x Source #
vertexList :: Coercible x Int => IntLikeGraph x -> [x] Source #
fromDirectedEdges :: Coercible x Int => [(x, x)] -> IntLikeGraph x Source #
fromUndirectedEdges :: Coercible x Int => [(x, x)] -> IntLikeGraph x Source #
Constructors
| Component | |
Fields
| |
Instances
| Enum Component Source # | |
Defined in IntLike.Graph Methods succ :: Component -> Component # pred :: Component -> Component # fromEnum :: Component -> Int # enumFrom :: Component -> [Component] # enumFromThen :: Component -> Component -> [Component] # enumFromTo :: Component -> Component -> [Component] # enumFromThenTo :: Component -> Component -> Component -> [Component] # | |
| Show Component Source # | |
| NFData Component Source # | |
Defined in IntLike.Graph | |
| Eq Component Source # | |
| Ord Component Source # | |
| Hashable Component Source # | |
Defined in IntLike.Graph | |
undirectedComponents :: Coercible x Int => [(x, x)] -> IntLikeEquiv Component x Source #