Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Notable changes to this project are documented in this file. The format is based
## [Unreleased]

Breaking changes:
- Restrict the signature of `launchAff_` to only work on `Aff Unit` (#203)

New features:

Expand Down
12 changes: 11 additions & 1 deletion spago.dhall
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
{ name = "aff"
, dependencies =
[ "assert"
[ "arrays"
, "assert"
, "bifunctors"
, "console"
, "control"
, "datetime"
, "effect"
, "either"
, "exceptions"
, "foldable-traversable"
, "free"
, "functions"
, "maybe"
, "minibench"
, "newtype"
, "parallel"
, "partial"
, "prelude"
, "psci-support"
, "refs"
, "tailrec"
, "transformers"
, "unsafe-coerce"
]
Expand Down
2 changes: 1 addition & 1 deletion src/Effect/Aff.purs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ launchAff aff = do
pure fiber

-- | Forks an `Aff` from an `Effect` context, discarding the `Fiber`.
launchAff_ ∷ ∀ a. Aff a → Effect Unit
launchAff_ ∷ Aff Unit → Effect Unit
launchAff_ = void <<< launchAff

-- | Suspends an `Aff` from an `Effect` context, returning the `Fiber`.
Expand Down