Skip to content

Commit

Permalink
Merge pull request #90 from mlang/Discard
Browse files Browse the repository at this point in the history
Avoid Discard constraint
  • Loading branch information
garyb authored Feb 18, 2017
2 parents 781edf1 + 67ca4fc commit eddf851
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 eddf851

Please sign in to comment.