diff options
-rw-r--r-- | compiler/utils/FastString.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/utils/FastString.hs b/compiler/utils/FastString.hs index 41889cfdc4..490eb138bf 100644 --- a/compiler/utils/FastString.hs +++ b/compiler/utils/FastString.hs @@ -192,6 +192,9 @@ instance Ord FastString where | otherwise = y compare a b = cmpFS a b +instance IsString FastString where + fromString = fsLit + instance Monoid FastString where mempty = nilFS mappend = appendFS |