Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
GHC
Commits
c54aaeee
Unverified
Commit
c54aaeee
authored
8 months ago
by
Andrei Borzenkov
Browse files
Options
Downloads
Patches
Plain Diff
Add missing entires to the release notes (
#24970
,
#24830
)
parent
934a8bb9
No related branches found
No related tags found
No related merge requests found
Pipeline
#98829
canceled
7 months ago
Stage: tool-lint
Stage: quick-build
Stage: full-build
Stage: packaging
Stage: testing
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/users_guide/9.10.1-notes.rst
+25
-0
25 additions, 0 deletions
docs/users_guide/9.10.1-notes.rst
with
25 additions
and
0 deletions
docs/users_guide/9.10.1-notes.rst
+
25
−
0
View file @
c54aaeee
...
...
@@ -148,6 +148,31 @@ Language
This feature is an experimental alternative to :extension:`ScopedTypeVariables`,
see the :ref:`type-abstractions-in-functions` section.
- In accordance with GHC Proposal `#425 <https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0425-decl-invis-binders.rst>`_,
arity inference for type families and type synonyms was removed. Previously
GHC performed attempts to figure out how many trailing invisible ``forall``'s
should be implicitly bounded on the LHS. Consider this example: ::
type P :: forall k. k -> Proxy k
type P = Proxy
Before this change, GHC used to add an invisible binder for the kind, like this: ::
type P @k = Proxy @k
This meant that such ``P`` did not work in higher-ranked contexts, as type synonyms
must always appear fully saturated.
After this change, GHC no longer tries to guess the arity. Instead, the arity
is directly specified via the :extension:`TypeAbstractions` extension.
- It is now possible to use untyped quotes in typed splices and vice versa: ::
$$(const [|| 'x' ||] ([| 'y' |] :: IO Exp))
This is useful, e.g. for quoting patterns in typed splices.
Compiler
~~~~~~~~
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment