summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-07-08 14:09:09 +0200
committerBen Gamari <ben@smart-cactus.org>2016-07-08 15:06:23 +0200
commitc4a9dcad885a7bbe0f60b7bef39a7d1789eae5e9 (patch)
treeeb326fe622e059e0e53b78cf3e6b824f566aa876 /compiler
parent15751f265d34d797c48270773bdd1a8e77e400bc (diff)
downloadhaskell-c4a9dcad885a7bbe0f60b7bef39a7d1789eae5e9.tar.gz
FastString: Supply mconcat implementation
Test Plan: Validate Reviewers: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2389
Diffstat (limited to 'compiler')
-rw-r--r--compiler/utils/FastString.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/utils/FastString.hs b/compiler/utils/FastString.hs
index 490eb138bf..651719a65a 100644
--- a/compiler/utils/FastString.hs
+++ b/compiler/utils/FastString.hs
@@ -198,6 +198,7 @@ instance IsString FastString where
instance Monoid FastString where
mempty = nilFS
mappend = appendFS
+ mconcat = concatFS
instance Show FastString where
show fs = show (unpackFS fs)