Skip to content

Commit d6439d3

Browse files
authored
Merge pull request #12 from purescript/bump
Prepare for 2.0 release
2 parents 59fcc2d + a84c172 commit d6439d3

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
"package.json"
1818
],
1919
"dependencies": {
20-
"purescript-eff": "^1.0.0"
20+
"purescript-eff": "^2.0.0"
2121
}
2222
}

src/Control/Monad/Eff/Ref.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
/* global exports */
21
"use strict";
32

4-
// module Control.Monad.Eff.Ref
5-
63
exports.newRef = function (val) {
74
return function () {
85
return { value: val };

src/Control/Monad/Eff/Ref.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
module Control.Monad.Eff.Ref where
88

99
import Prelude (Unit, unit)
10-
import Control.Monad.Eff (Eff())
10+
import Control.Monad.Eff (Eff)
1111

1212
-- | The effect associated with the use of global mutable variables.
1313
foreign import data REF :: !

src/Control/Monad/Eff/Ref/Unsafe.purs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
module Control.Monad.Eff.Ref.Unsafe where
44

5-
import Control.Monad.Eff (Eff())
5+
import Control.Monad.Eff (Eff)
66
import Control.Monad.Eff.Ref (REF)
7-
import Control.Monad.Eff.Unsafe (unsafeInterleaveEff)
7+
import Control.Monad.Eff.Unsafe (unsafeCoerceEff)
88

99
-- | This handler function unsafely removes the `Ref` effect from an
1010
-- | effectful action.
@@ -13,4 +13,4 @@ import Control.Monad.Eff.Unsafe (unsafeInterleaveEff)
1313
-- | typechecker that a particular mutable reference does not escape
1414
-- | its scope.
1515
unsafeRunRef :: forall eff a. Eff (ref :: REF | eff) a -> Eff eff a
16-
unsafeRunRef = unsafeInterleaveEff
16+
unsafeRunRef = unsafeCoerceEff

0 commit comments

Comments
 (0)