Skip to content

Commit

Permalink
more doctest fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ekmett committed Jan 26, 2013
1 parent e12e608 commit c9f36b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/ByteString/Lazy/Lens.hs
Expand Up @@ -100,7 +100,7 @@ packedChars = iso Char8.pack unpackLazy8
-- @
--
-- >>> [104,101,108,108,111]^.packedBytes.unpackedChars
-- "hello"
-- Chunk "hello" Empty
unpackedChars :: Iso' ByteString String
unpackedChars = from packedChars
{-# INLINE unpackedChars #-}
Expand Down
1 change: 1 addition & 0 deletions src/Data/ByteString/Strict/Lens.hs
Expand Up @@ -24,6 +24,7 @@ import Data.Word

-- $setup
-- >>> import Control.Lens
-- >>> import Numeric.Lens

-- | 'Data.ByteString.pack' (or 'Data.ByteString.unpack') a list of bytes into a 'ByteString'
--
Expand Down

0 comments on commit c9f36b4

Please sign in to comment.