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

Commit 804be8c

Browse files
committed
Rename unsafeInterleaveEff to unsafeCoerceEff
1 parent b513a06 commit 804be8c

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/Control/Monad/Eff/Unsafe.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
"use strict";
22

3-
// module Control.Monad.Eff.Unsafe
4-
5-
exports.unsafeInterleaveEff = function (f) {
3+
exports.unsafeCoerceEff = function (f) {
64
return f;
75
};

src/Control/Monad/Eff/Unsafe.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Control.Semigroupoid ((<<<))
77
-- | another context.
88
-- |
99
-- | *Note*: use of this function can result in arbitrary side-effects.
10-
foreign import unsafeInterleaveEff
10+
foreign import unsafeCoerceEff
1111
:: forall eff1 eff2 a
1212
. Eff eff1 a
1313
-> Eff eff2 a
@@ -16,4 +16,4 @@ foreign import unsafeInterleaveEff
1616
-- |
1717
-- | *Note*: use of this function can result in arbitrary side-effects.
1818
unsafePerformEff :: forall eff a. Eff eff a -> a
19-
unsafePerformEff = runPure <<< unsafeInterleaveEff
19+
unsafePerformEff = runPure <<< unsafeCoerceEff

0 commit comments

Comments
 (0)