@@ -179,13 +179,13 @@ instance IsString Text where
179179--
180180-- This function is subject to array fusion.
181181pack :: String -> Text
182−pack = unstream . S.streamList
182+pack s = unstream (S.streamList s)
183183{-# INLINE [1] pack #-}
184184
185185-- | /O(n)/ Convert a 'Text' into a 'String'.
186186-- Subject to array fusion.
187187unpack :: Text -> String
188−unpack = S.unstreamList . stream
188+unpack t = S.unstreamList (stream t)
189189{-# INLINE [1] unpack #-}
190190
191191singleton :: Char -> Text
@@ -193,9 +193,9 @@ singleton c = Chunk (T.singleton c) Empty
193193{-# INLINE [1] singleton #-}
194194
195195{-# RULES
196−"TEXT singleton -> fused" [~1] forall c.
196+"LAZY TEXT singleton -> fused" [~1] forall c.
197197 singleton c = unstream (S.singleton c)
198−"TEXT singleton -> unfused" [1] forall c.
198+"LAZY TEXT singleton -> unfused" [1] forall c.
199199 unstream (S.singleton c) = singleton c
200200 #-}
201201
@@ -216,9 +216,9 @@ append xs ys = foldrChunks Chunk ys xs
216216{-# INLINE append #-}
217217
218218{-# RULES
219−"TEXT append -> fused" [~1] forall t1 t2.
219+"LAZY TEXT append -> fused" [~1] forall t1 t2.
220220 append t1 t2 = unstream (S.append (stream t1) (stream t2))
221−"TEXT append -> unfused" [1] forall t1 t2.
221+"LAZY TEXT append -> unfused" [1] forall t1 t2.
222222 unstream (S.append (stream t1) (stream t2)) = append t1 t2
223223 #-}
224224