Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

packedChars

  • Loading branch information...
commit 871a579f806b60f811d240edfc63b3e714127e53 1 parent a7bcb10
@ekmett authored
View
2  src/Data/ByteString/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
View
2  src/Data/ByteString/Strict/Lens.hs
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.