Skip to content

Commit

Permalink
Avoid Discard constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
mlang committed Feb 15, 2017
1 parent 781edf1 commit 67ca4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Control/Monad/Aff.purs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ later' n aff = runFn3 _setTimeout nonCanceler n aff
finally :: forall e a b. Aff e a -> Aff e b -> Aff e a
finally aff1 aff2 = do
x <- attempt aff1
aff2
_ <- aff2
either throwError pure x

-- | Forks the specified asynchronous computation so subsequent computations
Expand Down

0 comments on commit 67ca4fc

Please sign in to comment.