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
Shayne Fletcher
Glasgow Haskell Compiler
Commits
4ae950fb
Commit
4ae950fb
authored
Jun 23, 2016
by
eir@cis.upenn.edu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Release notes for #11975 and #10963
parent
8035d1a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
docs/users_guide/8.0.2-notes.rst
docs/users_guide/8.0.2-notes.rst
+19
-0
No files found.
docs/users_guide/8.0.2-notes.rst
View file @
4ae950fb
...
...
@@ -21,3 +21,22 @@ Language
- :ghc-flag:`-XStaticPointers` now allows the body of the ``static`` form to
refer to closed local bindings. For instance, this is now permitted:
``f = static x where x = 'a'``.
TODO FIXME Heading title
~~~~~~~~~~~~~~~~~~~~~~~~
- GHCi now supports two new commands. :ghci-cmd:`:type` ``+d`` performs
defaulting on the type before reporting it to the user, and
:ghci-cmd:`:type` ``+v`` refrains from instantiating any variables before
reporting, which is useful in concert with :ghc-flag:`-XTypeApplications`.
.. code-block:: none
*X> :type +d length
length :: [a] -> Int
*X> :set -fprint-explicit-foralls
*X> :type length
length :: forall {a} {t :: * -> *}. Foldable t => t a -> Int
*X> :type +v length
length :: forall (t :: * -> *). Foldable t => forall a. t a -> Int
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