Verites/verigraph

View on GitHub
src/library/XML/GGXReader.hs

Summary

Maintainability
Test Coverage

Use .
Open

    expandSub (i, s) = concat $ replicate i $ concatMap expandItens s
Severity: Minor
Found in src/library/XML/GGXReader.hs by hlint

Found

concat $ replicate i $ concatMap expandItens s

Perhaps

concat . replicate i $ concatMap expandItens s

Avoid restricted qualification
Open

import qualified Data.Graphs                  as G
Severity: Minor
Found in src/library/XML/GGXReader.hs by hlint

Found

import qualified Data.Graphs as G

Perhaps

import qualified Data.Graphs as Graph

Applying this change:

  • may break the code

Use infix
Open

  let (sndOrdRules, fstOrdRules) = L.partition (\((x,_,_,_),_) -> L.isPrefixOf "2rule_" x) parsedRules
Severity: Minor
Found in src/library/XML/GGXReader.hs by hlint

Found

L.isPrefixOf "2rule_" x

Perhaps

"2rule_" `isPrefixOf` x

There are no issues that match your filters.

Category
Status