Permalink
Browse files

packedChars

  • Loading branch information...
ekmett committed Aug 27, 2012
1 parent a7bcb10 commit 871a579f806b60f811d240edfc63b3e714127e53
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/Data/ByteString/Lens.hs
  2. +1 −1 src/Data/ByteString/Strict/Lens.hs
@@ -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
@@ -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

0 comments on commit 871a579

Please sign in to comment.