test :: Maybe Int -> Int
test = case _ of
m | Just fold <- m -> fold
-- Previously would complain about fold being undefined
| otherwise -> case fold [] of Additive x -> x
Internal:
Add Guard handler for the everywhereWithContextOnValuesM traversal. (#4385 by @PureFunctor)
v0.15.4-0
This is an automated preview release. Get the latest stable release here.
v0.15.3
New features:
Float compiler-synthesized function applications (#3915 by @rhendric)
This is a limited implementation of common subexpression elimination for
expressions created by the compiler in the process of creating and using
typeclass dictionaries. Users can expect code that heavily uses typeclasses
to produce JavaScript that is shorter, simpler, and faster.
Common subexpression elimination is not applied to any expressions explicitly
written by users. If you want those floated to a higher scope, you have to do
so manually.
test :: Maybe Int -> Int
test = case _ of
m | Just fold <- m -> fold
-- Previously would complain about fold being undefined
| otherwise -> case fold [] of Additive x -> x
Internal:
Add Guard handler for the everywhereWithContextOnValuesM traversal. (#4385 by @PureFunctor)
0.15.3
New features:
Float compiler-synthesized function applications (#3915 by @rhendric)
This is a limited implementation of common subexpression elimination for
expressions created by the compiler in the process of creating and using
typeclass dictionaries. Users can expect code that heavily uses typeclasses
to produce JavaScript that is shorter, simpler, and faster.
Common subexpression elimination is not applied to any expressions explicitly
written by users. If you want those floated to a higher scope, you have to do
so manually.
This version was pushed to npm by jalexm, a new releaser for purescript since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps purescript from 0.13.8 to 0.15.4.
Release notes
Sourced from purescript's releases.
... (truncated)
Changelog
Sourced from purescript's changelog.
... (truncated)
Commits
9870ec7
Make 0.15.4 release (#4360)de6809b
Fix name clash in guard clauses (#4358)8201875
Make v0.15.3 release (#4356)7878613
Qualify locally-bound names with source spans (#4293)1887bcf
Update codebase to GHC 9.2.3 (#4351)8d68787
Fix inconsistency betweenstack test
andcabal test
(#4354)e4c98bb
Support shebang lines in modules (#4214)9534e24
Remove unused SimpleErrorMessage constructors (#4344)9580971
Stop emitting null source spans (#4343)3c28f9c
Setup infrastructure for testing source maps (#4335)Maintainer changes
This version was pushed to npm by jalexm, a new releaser for purescript since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)