Verites/verigraph

View on GitHub
src/library/Data/TypedGraph/Partition/ToVerigraph.hs

Summary

Maintainability
Test Coverage

TODO found
Open

-- TODO: break this module in two, one for graphs and other for typed graphs?

Use .
Open

    nodeId n = GP.nodeId $ head $ getListContainingNode (side,n) nodes

Found

GP.nodeId $ head $ getListContainingNode (side, n) nodes

Perhaps

GP.nodeId . head $ getListContainingNode (side, n) nodes

Avoid restricted qualification
Open

import qualified Data.Graphs                     as G

Found

import qualified Data.Graphs as G

Perhaps

import qualified Data.Graphs as Graph

Applying this change:

  • may break the code

Use .
Open

    edgeId e = GP.edgeId $ head $ getListContainingEdge (side,e) edges

Found

GP.edgeId $ head $ getListContainingEdge (side, e) edges

Perhaps

GP.edgeId . head $ getListContainingEdge (side, e) edges

There are no issues that match your filters.

Category
Status