Skip to content

Commit

Permalink
packedChars
Browse files Browse the repository at this point in the history
  • Loading branch information
ekmett committed Aug 27, 2012
1 parent a7bcb10 commit 871a579
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Data/ByteString/Lens.hs
Expand Up @@ -53,7 +53,7 @@ class IsByteString t where
-- When writing back to the 'ByteString' it is assumed that every 'Char'
-- lies between '\x00' and '\xff'.
--
-- @'chars' = 'from' 'packed' . 'traverse'@
-- @'chars' = 'from' 'packedChars' . 'traverse'@
--
-- @'anyOf' 'chars' ('==' \'c\') :: 'ByteString' -> 'Bool'@
chars :: SimpleIndexedTraversal Int t Char
Expand Down
2 changes: 1 addition & 1 deletion src/Data/ByteString/Strict/Lens.hs
Expand Up @@ -57,7 +57,7 @@ packedChars = iso Char8.pack Char8.unpack
-- When writing back to the 'ByteString' it is assumed that every 'Char'
-- lies between '\x00' and '\xff'.
--
-- @'chars' = 'from' 'packed' . 'traverse'@
-- @'chars' = 'from' 'packedChars' . 'traverse'@
--
-- @'anyOf' 'chars' ('==' \'c\') :: 'ByteString' -> 'Bool'@
chars :: SimpleIndexedTraversal Int ByteString Char
Expand Down

0 comments on commit 871a579

Please sign in to comment.