lens-prelude-0.2: Alternate prelude that exports lens combinators

Safe HaskellSafe
LanguageHaskell2010

Prelude.Bitpacked.Module

Documentation

data BitpackedModule c e Source

Constructors

BitpackedModule 

Fields

map :: (e -> e) -> c -> c
 
length :: c -> Int
 
filter :: (e -> Bool) -> c -> c
 
singleton :: e -> c
 
null :: c -> Bool
 
pack :: [e] -> c
 
unpack :: c -> [e]
 
empty :: c
 
readFile :: FilePath -> IO c
 
writeFile :: FilePath -> c -> IO ()
 
break :: (e -> Bool) -> c -> (c, c)
 
span :: (e -> Bool) -> c -> (c, c)
 
dropWhile :: (e -> Bool) -> c -> c
 
takeWhile :: (e -> Bool) -> c -> c
 
any :: (e -> Bool) -> c -> Bool
 
all :: (e -> Bool) -> c -> Bool
 
splitAt :: Int -> c -> (c, c)
 
intersperse :: e -> c -> c
 
intercalate :: c -> [c] -> c
 
foldl :: forall a. (a -> e -> a) -> a -> c -> a
 
foldl' :: forall a. (a -> e -> a) -> a -> c -> a
 
concat :: [c] -> c
 
replicate :: Int -> e -> c
 
lines :: c -> [c]