diff options
Diffstat (limited to 'compiler/utils')
-rw-r--r-- | compiler/utils/Digraph.hs | 2 | ||||
-rw-r--r-- | compiler/utils/GraphColor.hs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/utils/Digraph.hs b/compiler/utils/Digraph.hs index 49ded1b23f..e7c838508c 100644 --- a/compiler/utils/Digraph.hs +++ b/compiler/utils/Digraph.hs @@ -422,7 +422,7 @@ type IntGraph = G.Graph -- Data.Tree has flatten for Tree, but nothing for Forest preorderF :: Forest a -> [a] -preorderF ts = concat (map flatten ts) +preorderF ts = concatMap flatten ts {- ------------------------------------------------------------ diff --git a/compiler/utils/GraphColor.hs b/compiler/utils/GraphColor.hs index 9ab2ad22af..70c3f7a7b3 100644 --- a/compiler/utils/GraphColor.hs +++ b/compiler/utils/GraphColor.hs @@ -324,7 +324,7 @@ selectColor colors graph u -- the prefs of our neighbors colors_neighbor_prefs = mkUniqSet - $ concat $ map nodePreference nsConflicts + $ concatMap nodePreference nsConflicts -- colors that are still valid for us colors_ok_ex = minusUniqSet colors_avail (nodeExclusions node) |