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
1192df4e
Commit
1192df4e
authored
Oct 15, 2013
by
Krzysztof Gogolewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo in manual
Remove remains of old role syntax
parent
6b2ccadc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
docs/users_guide/glasgow_exts.xml
docs/users_guide/glasgow_exts.xml
+2
-2
No files found.
docs/users_guide/glasgow_exts.xml
View file @
1192df4e
...
...
@@ -11131,13 +11131,13 @@ Here are some examples:</para>
data T3 a b = MkT3 a -- OK: nominal is higher than necessary, but safe
type role T4 nominal
data T4 a = MkT4 (a Int)
-- OK, but N is higher than necessary
data T4 a = MkT4 (a Int) -- OK, but N is higher than necessary
type role C representational _
class C a b where ... -- OK
type role X nominal
type X a
@N
= ... -- ERROR: role annotations not allowed for type synonyms
type X a = ... -- ERROR: role annotations not allowed for type synonyms
</programlisting>
</sect2>
...
...
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