| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Yi.Buffer.Basic
Description
Basic types useful everywhere we play with buffers.
Documentation
Direction of movement inside a buffer
Instances
| Bounded Direction # | |
| Enum Direction # | |
Defined in Yi.Buffer.Basic Methods 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] # | |
| Eq Direction # | |
| Ord Direction # | |
| Show Direction # | |
| Generic Direction # | |
| Binary Direction # | |
| type Rep Direction # | |
reverseDir :: Direction -> Direction #
mayReverse :: Direction -> [a] -> [a] #
reverse if Backward
directionElim :: Direction -> a -> a -> a #
Reference to a buffer.
Instances
| Eq BufferRef # | |
| Num BufferRef # | |
Defined in Yi.Buffer.Basic | |
| Ord BufferRef # | |
| Show BufferRef # | |
| Binary BufferRef # | |
A point in a buffer
Size of a buffer region
Window references
Constructors
| WindowRef | |
Fields
| |
Instances
| Enum WindowRef # | |
Defined in Yi.Buffer.Basic Methods 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] # | |
| Eq WindowRef # | |
| Ord WindowRef # | |
| Show WindowRef # | |
| Binary WindowRef # | |
| Default WindowRef # | |
Defined in Yi.Buffer.Basic | |