Skip to content
GitLab
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
9868542f
Commit
9868542f
authored
Sep 14, 2010
by
simonpj
Browse files
Add comment
parent
636c9860
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/deriving/should_fail/drvfail001.hs
View file @
9868542f
...
...
@@ -15,6 +15,7 @@ type SqMat a = SM Nil a
data
SM
f
a
=
ZeroS
(
f
(
f
a
))
|
SuccS
(
SM
(
Cons
f
)
a
)
deriving
Show
-- Show (f (f a)), Show (SM (Cons f) a) => Show (SM f a)
data
Nil
a
=
MkNil
deriving
Show
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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