Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
sheaf
GHC
Commits
4c7e9689
Commit
4c7e9689
authored
Jun 11, 2020
by
Sebastian Graf
Browse files
Release Notes: Add news from the pattern-match checker [skip ci]
parent
8d07c48c
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/users_guide/8.12.1-notes.rst
View file @
4c7e9689
...
...
@@ -19,6 +19,19 @@ Highlights
In the mean this improved runtime by about 0.8%. For details
see ticket :ghc-ticket:`17823`.
* Pattern-Match Coverage Checking
- The revamp of the pattern-match coverage checker that started in 8.10 concludes with this release and implements the
novel `*Lower Your Guards* <https://www.microsoft.com/en-us/research/uploads/prod/2020/03/lyg.pdf>`_ algorithm.
- Compared to 8.10, end users might notice improvements to "long-distance information": :: haskell
:linenos:
f True = 1
f x = ... case x of { False -> 2; True -> 3 } ...
GHC is now able to detect the case alt returning 3 as redundant.
- Some more performance improvements in edge cases.
Full details
------------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment