Safe Haskell | None |
---|
- newtype Rope = Rope {}
- class Packable c where
- empty :: Rope
- fromChunks :: [ByteString] -> Rope
- fromByteString :: ByteString -> Rope
- fromLazyByteString :: ByteString -> Rope
- fromString :: String -> Rope
- fromWords :: [Word8] -> Rope
- fromChar :: Char -> Rope
- fromWord8 :: Word8 -> Rope
- length :: Rope -> Int
- null :: Rope -> Bool
- toChunks :: Rope -> [ByteString]
- toString :: Rope -> String
- toLazyByteString :: Rope -> ByteString
- splitAt :: Int -> Rope -> (Rope, Rope)
- take :: Int -> Rope -> Rope
- drop :: Int -> Rope -> Rope
- class Unpackable a where
- class Breakable a where
- w2c :: Word8 -> Char
- findIndexOrEnd :: (Word8 -> Bool) -> ByteString -> Int
Documentation
Construction
fromChunks :: [ByteString] -> RopeSource
fromString :: String -> RopeSource
Analysis
Deconstruction
toChunks :: Rope -> [ByteString]Source
Cutting
Unpacking
findIndexOrEnd :: (Word8 -> Bool) -> ByteString -> IntSource