Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Basic types useful everywhere we play with buffers.
Documentation
Direction of movement inside a buffer
Instances
Bounded Direction Source # | |
Enum Direction Source # | |
Defined in Yi.Buffer.Basic succ :: Direction -> Direction # pred :: Direction -> Direction # fromEnum :: Direction -> Int # enumFrom :: Direction -> [Direction] # enumFromThen :: Direction -> Direction -> [Direction] # enumFromTo :: Direction -> Direction -> [Direction] # enumFromThenTo :: Direction -> Direction -> Direction -> [Direction] # | |
Generic Direction Source # | |
Show Direction Source # | |
Binary Direction Source # | |
Eq Direction Source # | |
Ord Direction Source # | |
Defined in Yi.Buffer.Basic | |
type Rep Direction Source # | |
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
Instances
Size of a buffer region
Window references
Instances
Enum WindowRef Source # | |
Defined in Yi.Buffer.Basic succ :: WindowRef -> WindowRef # pred :: WindowRef -> WindowRef # fromEnum :: WindowRef -> Int # enumFrom :: WindowRef -> [WindowRef] # enumFromThen :: WindowRef -> WindowRef -> [WindowRef] # enumFromTo :: WindowRef -> WindowRef -> [WindowRef] # enumFromThenTo :: WindowRef -> WindowRef -> WindowRef -> [WindowRef] # | |
Show WindowRef Source # | |
Binary WindowRef Source # | |
Default WindowRef Source # | |
Defined in Yi.Buffer.Basic | |
Eq WindowRef Source # | |
Ord WindowRef Source # | |
Defined in Yi.Buffer.Basic |