Safe Haskell | None |
---|
- data Rope
- length :: Rope -> Int
- null :: Rope -> Bool
- class Breakable a where
- splitAt :: Int -> Rope -> (Rope, Rope)
- take :: Int -> Rope -> Rope
- drop :: Int -> Rope -> Rope
- class Packable c where
- empty :: Rope
- fromByteString :: ByteString -> Rope
- fromChunks :: [ByteString] -> Rope
- fromLazyByteString :: ByteString -> Rope
- fromWords :: [Word8] -> Rope
- fromChar :: Char -> Rope
- fromWord8 :: Word8 -> Rope
- fromString :: String -> Rope
- class Unpackable a where
- toChunks :: Rope -> [ByteString]
- toLazyByteString :: Rope -> ByteString
- toString :: Rope -> String
Size
Slicing
Walking
construction
fromChunks :: [ByteString] -> RopeSource
fromString :: String -> RopeSource
Deconstructing Rope
s
toChunks :: Rope -> [ByteString]Source