acme-realworld 0.1 → 0.1.1
raw patch · 2 files changed
+3/−3 lines, 2 files
Files
- Acme/RealWorld.hs +2/−2
- acme-realworld.cabal +1/−1
Acme/RealWorld.hs view
@@ -20,7 +20,7 @@ hypothetically, ) where -import Control.Exception (bracket)+import qualified Control.Exception as E import GHC.IO import GHC.Exts @@ -66,4 +66,4 @@ -- operation will block because it never gets a chance to restore the original -- state of the universe. hypothetically :: IO a -> IO a-hypothetically action = bracket getWorld putWorld (\_ -> action)+hypothetically action = E.bracket getWorld putWorld (\_ -> action)
acme-realworld.cabal view
@@ -1,5 +1,5 @@ name: acme-realworld-version: 0.1+version: 0.1.1 synopsis: Primitives for manipulating the state of the universe description: GHC represents an IO action internally as a function from one state of the