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

Stability | experimental |

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

Safe Haskell | Safe-Infered |

- data Caret = Caret !Delta !ByteString
- caret :: MonadParser m => m Caret
- data Careted a = a :^ Caret
- careted :: MonadParser m => m a -> m (Careted a)
- drawCaret :: Delta -> Delta -> Lines -> Lines
- addCaret :: Delta -> Rendering -> Rendering
- caretEffects :: [ScopedEffect]
- renderingCaret :: Delta -> ByteString -> Rendering

# Documentation

In file included from baz.c:9 In file included from bar.c:4 foo.c:8:36: note int main(int argc, char ** argv) { int; } ^

caret :: MonadParser m => m CaretSource

Functor Careted | |

Foldable Careted | |

Traversable Careted | |

Comonad Careted | |

Extend Careted | |

Foldable1 Careted | |

Traversable1 Careted | |

Eq a => Eq (Careted a) | |

Ord a => Ord (Careted a) | |

Show a => Show (Careted a) | |

Hashable a => Hashable (Careted a) | |

HasBytes (Careted a) | |

HasDelta (Careted a) | |

Renderable (Careted a) | |

Reducer (Careted a) Rendering |

careted :: MonadParser m => m a -> m (Careted a)Source

# Internals

renderingCaret :: Delta -> ByteString -> RenderingSource