Skip to content

Commit

Permalink
Revert strictly-speaking breaking change to instance IsList ByteStrin…
Browse files Browse the repository at this point in the history
…g in #670
  • Loading branch information
Bodigrim committed Dec 5, 2024
1 parent 19727c9 commit 537b8ac
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Data/ByteString/Internal/Type.hs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ instance Read ByteString where
instance IsList ByteString where
type Item ByteString = Word8
fromList = packBytes
fromListN n = fst . packUptoLenBytes n
toList = unpackBytes

-- | Beware: 'fromString' truncates multi-byte characters to octets.
Expand Down

0 comments on commit 537b8ac

Please sign in to comment.