Skip to content

Commit

Permalink
Fix warnings revealed by v0.14.1 PS release (#43)
Browse files Browse the repository at this point in the history
* Fix warnings revealed by v0.14.1 PS release

* Update changelog
  • Loading branch information
JordanMartinez committed Apr 25, 2021
1 parent 1028e08 commit 3323cbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ New features:
Bugfixes:

Other improvements:
- Fix warnings revealed by v0.14.1 PS release (#43 by @JordanMartinez)

## [v5.0.0](https://github.com/purescript/purescript-st/releases/tag/v5.0.0) - 2021-02-26

Expand Down
2 changes: 1 addition & 1 deletion src/Control/Monad/ST/Internal.purs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ instance monadRecST :: MonadRec (ST r) where
Loop a' -> do
e <- f a'
void (write e r)
Done b -> pure unit
Done _ -> pure unit
fromDone <$> read r
where
fromDone :: forall a b. Step a b -> b
Expand Down

0 comments on commit 3323cbc

Please sign in to comment.