Check for partially applied synonyms in kinds, ctors (#4169 by @rhendric)
This check doesn't prevent any programs from compiling; it just makes
sure that a more specific PartiallyAppliedSynonym error is raised
instead of a KindsDoNotUnify error, which could be interpreted as
implying that a partially applied synonym has a valid kind and would be
supported elsewhere if that kind is expected.
Support deriving instances for type synonyms (#4315 by @rhendric)
Bugfixes:
Do not emit warnings about type wildcards used in binders (patterns). (#4309 by @fsoikin)
Type wildcards in the following examples no longer trigger a warning:
f :: Int
f = 42 # \(x :: _) -> x
g :: Maybe Int
g = do
x :: _ <- getX
pure $ x + 5
Fix issue with unnamed instances using type operators (#4311 by @rhendric)
Fix incorrect Prim.Int (class Compare) docs: Int & Ordering, not Symbol (#4313 by @JordanMartinez)
Fix bad interaction between module renaming and inliner (#4322 by @rhendric)
This bug was triggered when modules that the compiler handles specially
are shadowed by local constructors. For example, a constructor named
Prim could have caused references to Prim_1["undefined"] to be
produced in the compiled code, leading to a reference error at run time.
Less severely, a constructor named Control_Bind would have caused the
compiler not to inline known monadic functions, leading to slower and
less readable compiled code.
Update Prim docs for Boolean, Int, String/Symbol, Number, Record, and Row (#4317 by @JordanMartinez)
Fix crash caused by polykinded instances (#4325 by @rhendric)
A polykinded instance is a class instance where one or more of the type
parameters has an indeterminate kind. For example, the kind of a in
Check for partially applied synonyms in kinds, ctors (#4169 by @rhendric)
This check doesn't prevent any programs from compiling; it just makes
sure that a more specific PartiallyAppliedSynonym error is raised
instead of a KindsDoNotUnify error, which could be interpreted as
implying that a partially applied synonym has a valid kind and would be
supported elsewhere if that kind is expected.
Support deriving instances for type synonyms (#4315 by @rhendric)
Bugfixes:
Do not emit warnings about type wildcards used in binders (patterns). (#4309 by @fsoikin)
Type wildcards in the following examples no longer trigger a warning:
f :: Int
f = 42 # \(x :: _) -> x
g :: Maybe Int
g = do
x :: _ <- getX
pure $ x + 5
Fix issue with unnamed instances using type operators (#4311 by @rhendric)
Fix incorrect Prim.Int (class Compare) docs: Int & Ordering, not Symbol (#4313 by @JordanMartinez)
Fix bad interaction between module renaming and inliner (#4322 by @rhendric)
This bug was triggered when modules that the compiler handles specially
are shadowed by local constructors. For example, a constructor named
Prim could have caused references to Prim_1["undefined"] to be
produced in the compiled code, leading to a reference error at run time.
Less severely, a constructor named Control_Bind would have caused the
compiler not to inline known monadic functions, leading to slower and
less readable compiled code.
Update Prim docs for Boolean, Int, String/Symbol, Number, Record, and Row (#4317 by @JordanMartinez)
Fix crash caused by polykinded instances (#4325 by @rhendric)
A polykinded instance is a class instance where one or more of the type
parameters has an indeterminate kind. For example, the kind of a in
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.2.
Release notes
Sourced from purescript's releases.
... (truncated)
Changelog
Sourced from purescript's changelog.
... (truncated)
Commits
493867a
Make 0.15.2 release (#4331)79a76e4
Only update version number for prerelease (#4330)7ce6178
Make 0.15.1 release (#4328)f8e342a
Fix CI golden test; update test deps' either/tailrec to 6.1.0 (#4329)94343bc
Drop dependency on microlens libraries (#4327)20d6c6c
Move most instance deriving into the type checker (#4315)a7ae87f
Fix incomplete type traversals (#4155)c984e32
Add Matrix channel and Libera.Chat channel as unaffiliated spaces (#4292)3d7c22f
Fix crash caused by polykinded instances (#4325)177f5c8
Prerelease only if sources change (#4324)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)