on master help sign in
uncomment rule for decodeutf8
commite4a00d9790a51f13f744f895238e50f5721af8af authorLuigy Leon <luigy@outlook.com> dateWed 5 Oct 2016, 18:48 (10 years ago) parent5bb6396
1 file changed+2−2
Data/Text/Encoding.hs+2−2
Data/Text/Encoding.hs+2−2
@@ -318,8 +318,8 @@ streamDecodeUtf8With onErr = decodeChunk B.empty 0 0
318318decodeUtf8 :: ByteString -> Text
319319decodeUtf8 = decodeUtf8With strictDecode
320320{-# INLINE[0] decodeUtf8 #-}
321−-- {-# RULES "STREAM stream/decodeUtf8 fusion" [1]
322−-- forall bs. F.stream (decodeUtf8 bs) = E.streamUtf8 strictDecode bs #-}
321+{-# RULES "STREAM stream/decodeUtf8 fusion" [1]
322+ forall bs. F.stream (decodeUtf8 bs) = E.streamUtf8 strictDecode bs #-}
323323
324324-- | Decode a 'ByteString' containing UTF-8 encoded text.
325325--