Commits

Bryan O'Sullivan  committed 82eafe3

Check empty chunk invariant properly

  • Participants
  • Parent commits 9a8885a

Comments (0)

Files changed (1)

File Data/Text/Lazy.hs

 {-# INLINE [1] toStrict #-}
 
 fromStrict :: T.Text -> Text
-fromStrict t = Chunk t Empty
+fromStrict t = chunk t Empty
 {-# INLINE [1] fromStrict #-}
 
 cons :: Char -> Text -> Text