Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Ben Gamari
Glasgow Haskell Compiler
Commits
4a331e65
Commit
4a331e65
authored
Dec 14, 2017
by
Ben Gamari
🐢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
users-guide: Fix various bits of markup
(cherry picked from commit
15b2b959
)
parent
d4c8d895
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
10 deletions
+18
-10
docs/users_guide/8.4.1-notes.rst
docs/users_guide/8.4.1-notes.rst
+13
-5
docs/users_guide/separate_compilation.rst
docs/users_guide/separate_compilation.rst
+5
-5
No files found.
docs/users_guide/8.4.1-notes.rst
View file @
4a331e65
...
...
@@ -13,7 +13,15 @@ Highlights
The highlights, since the 8.2.1 release, are:
- Many, many bug fixes.
- GHC is now capable of deriving more instances
- More refinement of the :ghc-flag:`-XTypeInType` story and improvements in type
error messages.
- Further improvements in code generation
- Many, many bug fixes.
Full details
------------
...
...
@@ -59,16 +67,16 @@ Language
data StrictJust a <- Just !a where
StrictJust !a = Just a
- GADTs with kind-polymorphic type arguments now require :ghc-flag:`TypeInType`.
- GADTs with kind-polymorphic type arguments now require :ghc-flag:`
-X
TypeInType`.
For instance, consider the following, ::
data G :: k -> * where
GInt :: G Int
GMaybe :: G Maybe
In previous releases this would compile with :ghc-flag:`PolyKinds` alone due
In previous releases this would compile with :ghc-flag:`
-X
PolyKinds` alone due
to bug :ghc-ticket:`13391`. As of GHC 8.4, however, this requires
:ghc-flag:`TypeInType`. Note that since GADT kind signatures aren't generalized,
:ghc-flag:`
-X
TypeInType`. Note that since GADT kind signatures aren't generalized,
this will also require that you provide a :ref:`CUSK
<complete-kind-signatures>` by explicitly quantifying over the kind argument,
``k``, ::
...
...
@@ -101,7 +109,7 @@ Language
which require extensions to derive, such as :ghc-flag:`-XDeriveFunctor`.
- Hexadecimal floating point literals (e.g. ``0x0.1p4``), enabled with
:ghc-flag:`HexFloatLiterals`. See
:ghc-flag:`
-X
HexFloatLiterals`. See
:ref:`Hexadecimal floating point literals <hex-float-literals>`
for the full details.
...
...
docs/users_guide/separate_compilation.rst
View file @
4a331e65
...
...
@@ -544,17 +544,17 @@ The recompilation checker
.. ghc-flag:: -fignore-optim-changes
:shortdesc: Do not recompile modules just to match changes to
optimisation flags. This is especially useful for avoiding
recompilation when using GHCi, and is enabled by default for
GHCi.
optimisation flags. This is especially useful for avoiding
recompilation when using GHCi, and is enabled by default for
GHCi.
:type: dynamic
:reverse: -fno-ignore-optim-changes
:category: recompilation
.. ghc-flag:: -fignore-hpc-changes
:shortdesc: Do not recompile modules just to match changes to
HPC flags. This is especially useful for avoiding recompilation
when using GHCi, and is enabled by default for GHCi.
HPC flags. This is especially useful for avoiding recompilation
when using GHCi, and is enabled by default for GHCi.
:type: dynamic
:reverse: -fno-ignore-hpc-changes
:category: recompilation
...
...
Write
Preview
Markdown
is supported
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