Safe Haskell | None |
---|---|

Language | Haskell2010 |

## Synopsis

- runReadline :: MonadException m => Prefs -> Settings m -> ReadlineC m a -> m a
- runReadlineWithHistory :: MonadException m => ReadlineC m a -> m a
- newtype ReadlineC m a = ReadlineC (ReaderC Line (LiftC (InputT m)) a)
- module Control.Effect.Readline

# Readline carrier

runReadline :: MonadException m => Prefs -> Settings m -> ReadlineC m a -> m a Source #

runReadlineWithHistory :: MonadException m => ReadlineC m a -> m a Source #

newtype ReadlineC m a Source #

#### Instances

MonadTrans ReadlineC Source # | |

Defined in Control.Carrier.Readline.Haskeline | |

MonadException m => Algebra Readline (ReadlineC m) Source # | |

Monad m => Monad (ReadlineC m) Source # | |

Functor m => Functor (ReadlineC m) Source # | |

MonadFix m => MonadFix (ReadlineC m) Source # | |

Defined in Control.Carrier.Readline.Haskeline | |

Applicative m => Applicative (ReadlineC m) Source # | |

Defined in Control.Carrier.Readline.Haskeline | |

MonadIO m => MonadIO (ReadlineC m) Source # | |

Defined in Control.Carrier.Readline.Haskeline |

# Readline effect

module Control.Effect.Readline