Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Model registry
Operate
Terraform modules
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
Bartłomiej Cieślar
GHC-dev
Commits
11a5cc09
Commit
11a5cc09
authored
7 years ago
by
Ben Gamari
Browse files
Options
Downloads
Patches
Plain Diff
relnotes: Fix wibbles
parent
78ef8f2f
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/users_guide/8.2.1-notes.rst
+8
-8
8 additions, 8 deletions
docs/users_guide/8.2.1-notes.rst
with
8 additions
and
8 deletions
docs/users_guide/8.2.1-notes.rst
+
8
−
8
View file @
11a5cc09
...
...
@@ -12,7 +12,7 @@ Highlights
The highlights since the 8.0 release include:
- A new, more expressive ``Typeable`` mechanism
- A new, more expressive ``Typeable`` mechanism
, ``Type.Reflection``
- Colorful error messages with caret diagnostics
...
...
@@ -88,7 +88,7 @@ Compiler
been completely overhauled. The instance context is now inferred using the
type signatures (and default type signatures) of the derived class's methods
instead of using the datatype's definition, which often led to
overconstrained instances or instances that didn't typecheck (or worse,
over
-
constrained instances or instances that didn't typecheck (or worse,
triggered GHC panics). See the section on
:ref:`DeriveAnyClass <derive-any-class>` for more details.
...
...
@@ -167,7 +167,7 @@ Compiler
on feedback from tooling authors for the next release.
- GHC is now able to better optimize polymorphic expressions by using known
superclass dictionaries where possible. Some examples:
superclass dictionaries where possible. Some examples:
::
-- uses of `Monad IO` or `Applicative IO` here are improved
foo :: MonadBaseControl IO m => ...
...
...
@@ -186,12 +186,12 @@ Compiler
- GHC now ignores ``RULES`` for data constructors (:ghc-ticket:`13290`).
Previously, it accepted::
"NotAllowed" forall x. Just x = e
{-# RULES
"NotAllowed" forall x. Just x = e
#-}
That rule will no longer take effect, and a warning will be issued. ``RULES``
may still mention data constructors, but not in the outermost position::
"StillWorks" forall x. f (Just x) = e
{-# RULES
"StillWorks" forall x. f (Just x) = e
#-}
- Type synonyms can no longer appear in the class position of an instance.
This means something like this is no longer allowed: ::
...
...
@@ -299,9 +299,9 @@ Runtime system
- Heap overflow throws a catchable exception, provided that it was detected
by the RTS during a GC cycle due to the program exceeding a limit set by
``+RTS -M``, and not due to an allocation being refused
by the operating
system.
This exception is thrown to the same thread that
receives
``UserInterrupt`` exceptions, and may be caught by user programs.
``+RTS -M``
(see :rts-flag:`-M`)
, and not due to an allocation being refused
by the operating
system. This exception is thrown to the same thread that
receives
``UserInterrupt`` exceptions, and may be caught by user programs.
- Added support for *Compact Regions*, which offer a way to manually
move long-lived data outside of the heap so that the garbage
...
...
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