mirror of
https://github.com/composewell/streamly.git
synced 2024-09-11 11:37:22 +03:00
Fix use-unliftio flag (#2218)
This commit is contained in:
parent
02ac6e4e77
commit
96a8bd04d8
@ -25,8 +25,12 @@ where
|
||||
|
||||
import Control.Exception (Exception, SomeException, mask_)
|
||||
import Control.Monad.Catch (MonadCatch)
|
||||
#ifdef USE_UNLIFTIO
|
||||
import Control.Monad.IO.Unlift (MonadUnliftIO)
|
||||
#else
|
||||
import Control.Monad.IO.Class (MonadIO)
|
||||
import Control.Monad.Trans.Control (MonadBaseControl)
|
||||
#endif
|
||||
import Data.Map.Strict (Map)
|
||||
import GHC.Exts (inline)
|
||||
import Streamly.Internal.Control.Concurrent
|
||||
|
Loading…
Reference in New Issue
Block a user