Skip to content
Snippets Groups Projects
Commit eab874e9 authored by Jens Nolte's avatar Jens Nolte
Browse files

Move `io` to prelude


Co-authored-by: default avatarJan Beinke <git@janbeinke.com>
parent 377b1807
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,9 @@ import GHC.TypeLits (Symbol)
import Lens.Micro.Platform (Lens', lens)
import Quasar.Utils.ExtraT
io :: IO a -> IO a
io = id
impossibleCodePath :: GHC.Stack.Types.HasCallStack => a
impossibleCodePath = error "Code path marked as impossible was reached"
......
......@@ -3,7 +3,7 @@ module Quasar.DisposableSpec (spec) where
import Control.Exception
import Control.Concurrent
import Control.Monad (void)
import Prelude
import Quasar.Prelude
import Test.Hspec
import Quasar.Awaitable
import Quasar.Disposable
......@@ -13,9 +13,6 @@ data TestException = TestException
instance Exception TestException
io :: IO a -> IO a
io = id
spec :: Spec
spec = parallel $ do
describe "Disposable" $ do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment