License | GPL-2 |
---|---|
Maintainer | yi-devel@googlegroups.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
A work in progress module that aims to be a more efficient replacement for Yi.OldRope. For now, please import Yi.OldRope!
- data Rope :: *
- fromString :: String -> Rope
- toString :: Rope -> String
- toReverseString :: Rope -> String
- null :: Rope -> Bool
- empty :: Rope
- take :: Int -> Rope -> Rope
- drop :: Int -> Rope -> Rope
- length :: Rope -> Int
- reverse :: Rope -> Rope
- countNewLines :: Rope -> Int
- split :: Word8 -> Rope -> [Rope]
- splitAt :: Int -> Rope -> (Rope, Rope)
- splitAtLine :: Int -> Rope -> (Rope, Rope)
- append :: Rope -> Rope -> Rope
- concat :: [Rope] -> Rope
- readFile :: FilePath -> IO Rope
- writeFile :: FilePath -> Rope -> IO ()
Documentation
data Rope :: *
fromString :: String -> Rope
toReverseString :: Rope -> String Source
countNewLines :: Rope -> Int Source