chshersh / iris

🌈 Haskell CLI Framework supporting Command Line Interface Guidelines
https://hackage.haskell.org/package/iris
Mozilla Public License 2.0
176 stars 21 forks source link

Add MonadUnliftIO instance #43

Closed chshersh closed 2 years ago

chshersh commented 2 years ago

MonadUnliftIO is essential for writing concurrent applications that use custom monads. Since CliApp is essentially a ReaderT, it should be trivial to derive MonadUnliftIO instance.

To do this:

  1. Add unliftio-core to dependencies.
  2. Derive MonadUnliftIO