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
Glasgow Haskell Compiler
GHC
Commits
4afef64f
Commit
4afef64f
authored
Jun 29, 2007
by
chak@cse.unsw.edu.au.
Browse files
Type families: test type family with higher kinded parameters
parent
0349d0be
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/indexed-types/should_compile/Simple6.hs
View file @
4afef64f
...
...
@@ -2,6 +2,8 @@
module
ShouldCompile
where
import
Data.IORef
data
family
T
a
data
instance
T
a
=
T
...
...
@@ -10,3 +12,6 @@ foo T = T
type
family
S
a
type
instance
S
a
=
a
type
family
SMRef
(
m
::
*
->
*
)
::
*
->
*
type
instance
SMRef
IO
=
IORef
\ No newline at end of file
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