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
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
tweag
GHC
Commits
fa25c8c4
Commit
fa25c8c4
authored
5 years ago
by
Richard Eisenberg
Committed by
Marge Bot
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update release notes about
#16512
/
#17405
.
parent
6f4c1250
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/users_guide/8.10.1-notes.rst
+12
-0
12 additions, 0 deletions
docs/users_guide/8.10.1-notes.rst
with
12 additions
and
0 deletions
docs/users_guide/8.10.1-notes.rst
+
12
−
0
View file @
fa25c8c4
...
...
@@ -141,6 +141,18 @@ Language
inferred type is higher-rank. GHC 8.10 will now reject this, as one must now
enable :ghc-flag:`-XRankNTypes` in ``B`` to accept the inferred type signature.
- Type family dependencies (also known as injective type families)
sometimes now need ``-XUndecidableInstances`` in order to be
accepted. Here is an example::
type family F1 a = r | r -> a
type family F2 a = r | r -> a
type instance F2 [a] = Maybe (F1 a)
Because GHC needs to look under a type family to see that ``a`` is determined
by the right-hand side of ``F2``\'s equation, this now needs ``-XUndecidableInstances``.
The problem is very much akin to its need to detect some functional dependencies.
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