1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00

📝 Vertex.

This commit is contained in:
Rob Rix 2018-04-02 18:08:26 -04:00
parent 9186742ba1
commit 4449a44cb3

View File

@ -25,6 +25,7 @@ import Prologue hiding (empty, packageName)
newtype ImportGraph = ImportGraph { unImportGraph :: G.Graph Name } newtype ImportGraph = ImportGraph { unImportGraph :: G.Graph Name }
deriving (Eq, Graph, Show) deriving (Eq, Graph, Show)
-- | A vertex of some specific type.
data Vertex data Vertex
= Package PackageName = Package PackageName
| Module ModuleName | Module ModuleName