| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Yi.Buffer.Basic
Description
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 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] # | |
| Generic Direction Source # | |
| Show Direction Source # | |
| Binary Direction Source # | |
| Eq Direction Source # | |
| Ord Direction Source # | |
| 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.
Instances
| Num BufferRef Source # | |
Defined in Yi.Buffer.Basic | |
| Show BufferRef Source # | |
| Binary BufferRef Source # | |
| Eq BufferRef Source # | |
| Ord BufferRef Source # | |
A point in a buffer
Instances
| Bounded Point Source # | |
| Enum Point Source # | |
Defined in Yi.Buffer.Basic | |
| Ix Point Source # | |
| Num Point Source # | |
| Integral Point Source # | |
| Real Point Source # | |
Defined in Yi.Buffer.Basic Methods toRational :: Point -> Rational # | |
| Show Point Source # | |
| Binary Point Source # | |
| Eq Point Source # | |
| Ord Point Source # | |
| SemiNum Point Size Source # | |
Size of a buffer region
Window references
Constructors
| WindowRef | |
Fields
| |
Instances
| Enum WindowRef Source # | |
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] # | |
| Show WindowRef Source # | |
| Binary WindowRef Source # | |
| Default WindowRef Source # | |
Defined in Yi.Buffer.Basic | |
| Eq WindowRef Source # | |
| Ord WindowRef Source # | |