Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

Commit

Permalink
Merge pull request #14 from purescript/bump
Browse files Browse the repository at this point in the history
Prepare for 2.0 release
  • Loading branch information
garyb authored Sep 30, 2016
2 parents 74acc8f + 4f55713 commit 2abcc55
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"package.json"
],
"dependencies": {
"purescript-prelude": "^1.0.0"
"purescript-prelude": "^2.1.0"
}
}
2 changes: 0 additions & 2 deletions src/Control/Monad/Eff.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
"use strict";

// module Control.Monad.Eff

exports.pureE = function (a) {
return function () {
return a;
Expand Down
4 changes: 1 addition & 3 deletions src/Control/Monad/Eff/Unsafe.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
"use strict";

// module Control.Monad.Eff.Unsafe

exports.unsafeInterleaveEff = function (f) {
exports.unsafeCoerceEff = function (f) {
return f;
};
4 changes: 2 additions & 2 deletions src/Control/Monad/Eff/Unsafe.purs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Control.Semigroupoid ((<<<))
-- | another context.
-- |
-- | *Note*: use of this function can result in arbitrary side-effects.
foreign import unsafeInterleaveEff
foreign import unsafeCoerceEff
:: forall eff1 eff2 a
. Eff eff1 a
-> Eff eff2 a
Expand All @@ -16,4 +16,4 @@ foreign import unsafeInterleaveEff
-- |
-- | *Note*: use of this function can result in arbitrary side-effects.
unsafePerformEff :: forall eff a. Eff eff a -> a
unsafePerformEff = runPure <<< unsafeInterleaveEff
unsafePerformEff = runPure <<< unsafeCoerceEff

0 comments on commit 2abcc55

Please sign in to comment.