Portability | non-portable |
---|---|

Stability | experimental |

Maintainer | Edward Kmett <ekmett@gmail.com> |

harder, better, faster, stronger...

- data It r a
- needIt :: a -> (r -> Maybe a) -> It r a
- wantIt :: a -> (r -> (#Bool, a#)) -> It r a
- simplifyIt :: It r a -> r -> It r a
- runIt :: (a -> o) -> (a -> (r -> It r a) -> o) -> It r a -> o
- fillIt :: r -> (Delta -> ByteString -> r) -> Delta -> It Rope r
- rewindIt :: Delta -> It Rope (Maybe ByteString)
- sliceIt :: Delta -> Delta -> It Rope ByteString
- stepIt :: It Rope a -> Step e a

# Documentation

simplifyIt :: It r a -> r -> It r aSource

fillIt :: r -> (Delta -> ByteString -> r) -> Delta -> It Rope rSource

Given a position, go there, and grab the text forward from that point