summaryrefslogtreecommitdiff
path: root/compiler/utils/Digraph.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/utils/Digraph.hs')
-rw-r--r--compiler/utils/Digraph.hs2
1 files changed, 1 insertions, 1 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
{-
------------------------------------------------------------