Safe Haskell | None |
---|---|
Language | Haskell2010 |
Basic types useful everywhere we play with buffers.
- data Direction
- reverseDir :: Direction -> Direction
- mayReverse :: Direction -> [a] -> [a]
- directionElim :: Direction -> a -> a -> a
- newtype Mark = Mark {}
- newtype BufferRef = BufferRef Int
- newtype Point = Point {}
- newtype Size = Size {}
- fromString :: String -> Rope
- newtype WindowRef = WindowRef {
- unWindowRef :: Int
Documentation
Direction of movement inside a buffer
reverseDir :: Direction -> Direction Source
mayReverse :: Direction -> [a] -> [a] Source
reverse if Backward
directionElim :: Direction -> a -> a -> a Source
A mark in a buffer
Reference to a buffer.
A point in a buffer
Size of a buffer region
fromString :: String -> Rope Source