This repository was archived by the owner on Oct 4, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 17
17
" package.json"
18
18
],
19
19
"dependencies" : {
20
- "purescript-prelude" : " ^1.0 .0"
20
+ "purescript-prelude" : " ^2.1 .0"
21
21
}
22
22
}
Original file line number Diff line number Diff line change 1
1
"use strict" ;
2
2
3
- // module Control.Monad.Eff
4
-
5
3
exports . pureE = function ( a ) {
6
4
return function ( ) {
7
5
return a ;
Original file line number Diff line number Diff line change 1
1
"use strict" ;
2
2
3
- // module Control.Monad.Eff.Unsafe
4
-
5
- exports . unsafeInterleaveEff = function ( f ) {
3
+ exports . unsafeCoerceEff = function ( f ) {
6
4
return f ;
7
5
} ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import Control.Semigroupoid ((<<<))
7
7
-- | another context.
8
8
-- |
9
9
-- | *Note*: use of this function can result in arbitrary side-effects.
10
- foreign import unsafeInterleaveEff
10
+ foreign import unsafeCoerceEff
11
11
:: forall eff1 eff2 a
12
12
. Eff eff1 a
13
13
-> Eff eff2 a
@@ -16,4 +16,4 @@ foreign import unsafeInterleaveEff
16
16
-- |
17
17
-- | *Note*: use of this function can result in arbitrary side-effects.
18
18
unsafePerformEff :: forall eff a . Eff eff a -> a
19
- unsafePerformEff = runPure <<< unsafeInterleaveEff
19
+ unsafePerformEff = runPure <<< unsafeCoerceEff
You can’t perform that action at this time.
0 commit comments