Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
a86935bd
Commit
a86935bd
authored
Sep 29, 2013
by
rwbarton
Committed by
Krzysztof Gogolewski
Sep 30, 2013
Browse files
Update role annotation syntax in TcCoercible
parent
ab86ebd2
Changes
1
Show whitespace changes
Inline
Side-by-side
testsuite/tests/typecheck/should_run/TcCoercible.hs
View file @
a86935bd
...
...
@@ -8,7 +8,8 @@ newtype Foo = Foo Age deriving Show
newtype
Bar
=
Bar
Age
deriving
Show
newtype
Baz
=
Baz
Bar
deriving
Show
data
Map
a
@
N
b
=
Map
a
b
deriving
Show
type
role
Map
nominal
representational
data
Map
a
b
=
Map
a
b
deriving
Show
main
=
do
print
(
coerce
$
one
::
Age
)
...
...
Write
Preview
Supports
Markdown
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