summaryrefslogtreecommitdiff
path: root/compiler/hsSyn/HsLit.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/hsSyn/HsLit.lhs')
-rw-r--r--compiler/hsSyn/HsLit.lhs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/hsSyn/HsLit.lhs b/compiler/hsSyn/HsLit.lhs
index 6ed92eb8a9..8c4818c2b5 100644
--- a/compiler/hsSyn/HsLit.lhs
+++ b/compiler/hsSyn/HsLit.lhs
@@ -24,6 +24,7 @@ import Type ( Type, Kind )
import Outputable
import FastString
+import Data.ByteString (ByteString)
import Data.Data
\end{code}
@@ -60,7 +61,7 @@ data HsLit
= HsChar Char -- Character
| HsCharPrim Char -- Unboxed character
| HsString FastString -- String
- | HsStringPrim FastBytes -- Packed bytes
+ | HsStringPrim ByteString -- Packed bytes
| HsInt Integer -- Genuinely an Int; arises from TcGenDeriv,
-- and from TRANSLATION
| HsIntPrim Integer -- literal Int#