File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -281,24 +281,24 @@ module Control.Monad.Aff
281
281
" " " :: forall e a. ((Error -> Eff e Unit) -> (a -> Eff e Unit) -> Eff e (Canceler e)) -> Aff e a
282
282
283
283
foreign import _pure " " "
284
- function _pure(canceler , v) {
284
+ function _pure(nonCanceler , v) {
285
285
return function(success, error) {
286
286
try {
287
287
success(v);
288
288
} catch (e) {
289
289
error(e);
290
290
}
291
291
292
- return canceler ;
292
+ return nonCanceler ;
293
293
}
294
294
}" " " :: forall e a. Fn2 (Canceler e ) a (Aff e a )
295
295
296
296
foreign import _throwError " " "
297
- function _throwError(canceler , e) {
297
+ function _throwError(nonCanceler , e) {
298
298
return function(success, error) {
299
299
error(e);
300
300
301
- return canceler ;
301
+ return nonCanceler ;
302
302
};
303
303
}" " " :: forall e a. Fn2 (Canceler e ) Error (Aff e a )
304
304
@@ -400,15 +400,15 @@ module Control.Monad.Aff
400
400
}" " " :: forall e a. Fn3 (Error -> Eff e Unit ) (a -> Eff e Unit ) (Aff e a ) (Eff e Unit )
401
401
402
402
foreign import _liftEff " " "
403
- function _liftEff(canceler , e) {
403
+ function _liftEff(nonCanceler , e) {
404
404
return function(success, error) {
405
405
try {
406
406
success(e());
407
407
} catch (e) {
408
408
error(e);
409
409
}
410
410
411
- return canceler ;
411
+ return nonCanceler ;
412
412
};
413
413
}" " " :: forall e a. Fn2 (Canceler e ) (Eff e a ) (Aff e a )
414
414
You can’t perform that action at this time.
0 commit comments