haskell / haskeline

A Haskell library for line input in command-line programs.
https://hackage.haskell.org/package/haskeline
BSD 3-Clause "New" or "Revised" License
221 stars 75 forks source link

Depend on the `exceptions` package. #97

Closed judah closed 5 years ago

judah commented 5 years ago

Remove System.Console.Haskeline.MonadException; instead, use class constraints from Control.Monad.Catch.

Also replace the internal State monad that was implemented with CPS by the regular strict State monad.

Fixes #24.


This change is Reviewable

judah commented 5 years ago

Upstream ticket for GHC to not include Haskeline (and thus, exceptions) in their global DB: https://ghc.haskell.org/trac/ghc/ticket/15726