Skip to content

Commit 2c74812

Browse files
committed
Invulnerable -> invincible
1 parent d510702 commit 2c74812

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Control/Monad/Aff.purs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module Control.Monad.Aff
1919
, delay
2020
, never
2121
, finally
22-
, invulnerable
22+
, invincible
2323
, killFiber
2424
, joinFiber
2525
, cancelWith
@@ -262,8 +262,8 @@ finally ∷ ∀ eff a. Aff eff Unit → Aff eff a → Aff eff a
262262
finally fin a = bracket (pure unit) (const fin) (const a)
263263

264264
-- | Runs an effect such that it cannot be killed.
265-
invulnerable eff a. Aff eff a Aff eff a
266-
invulnerable a = bracket a (const (pure unit)) pure
265+
invincible eff a. Aff eff a Aff eff a
266+
invincible a = bracket a (const (pure unit)) pure
267267

268268
-- | Attaches a custom `Canceler` to an action. If the computation is canceled,
269269
-- | then the custom `Canceler` will be run afterwards.

0 commit comments

Comments
 (0)