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
Alex D
GHC
Commits
bc83c733
Commit
bc83c733
authored
Jan 27, 2016
by
eir@cis.upenn.edu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add release note about flexible RebindableSyntax
parent
0dd663ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
docs/users_guide/8.0.1-notes.rst
docs/users_guide/8.0.1-notes.rst
+8
-0
No files found.
docs/users_guide/8.0.1-notes.rst
View file @
bc83c733
...
...
@@ -54,6 +54,8 @@ The highlights, since the 7.10 branch, are:
- A rewritten (and greatly improved) pattern exhaustiveness checker
- More flexible rebindable syntax
- GHC can run the interpreter in a separate process (see
:ref:`external-interpreter`), and the interpreter can now run profiled
code.
...
...
@@ -137,6 +139,12 @@ Language
-
The
:
ghc
-
flag
:`-
XDeriveAnyClass
`
extension
now
fills
in
associated
type
family
default
instances
when
deriving
a
class
that
contains
them
.
-
The
:
ghc
-
flag
:`-
XRebindableSyntax
`
feature
is
now
much
more
flexible
,
imposing
fewer
restrictions
on
the
types
of
the
rebindable
syntax
elements
.
For
example
,
your
``
negate
``
function
may
now
return
a
different
type
than
it
accepts
.
Rebindable
syntax
also
supports
higher
-
rank
types
fully
,
allowing
types
like
``(>>=)
::
m
a
->
(
forall
x
.
a
x
->
m
b
)
->
m
b
``.
-
Users
can
now
define
record
pattern
synonyms
.
This
allows
pattern
synonyms
to
behave
more
like
normal
data
constructors
.
For
example
,
::
...
...
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