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
Glasgow Haskell Compiler
GHC
Commits
712a6f8a
Commit
712a6f8a
authored
Sep 21, 2006
by
audreyt@audreyt.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* TypeRep.lhs and TypeRep.lhs-boot didn't agree on their signatures (SuperKind vs Kind)
parent
77ccc59a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
compiler/types/TypeRep.lhs
compiler/types/TypeRep.lhs
+1
-0
compiler/types/TypeRep.lhs-boot
compiler/types/TypeRep.lhs-boot
+5
-3
No files found.
compiler/types/TypeRep.lhs
View file @
712a6f8a
...
...
@@ -397,6 +397,7 @@ isTySuperKind (NoteTy _ ty) = isTySuperKind ty
isTySuperKind (TyConApp kc []) = kc `hasKey` tySuperKindTyConKey
isTySuperKind other = False
isCoSuperKind :: SuperKind -> Bool
isCoSuperKind (NoteTy _ ty) = isCoSuperKind ty
isCoSuperKind (TyConApp kc []) = kc `hasKey` coSuperKindTyConKey
isCoSuperKind other = False
...
...
compiler/types/TypeRep.lhs-boot
View file @
712a6f8a
...
...
@@ -11,9 +11,11 @@ type Coercion = Type
type Kind = Type
tySuperKind :: Kind
coSuperKind :: Kind
type SuperKind = Type
isCoSuperKind :: Kind -> Bool
tySuperKind :: SuperKind
coSuperKind :: SuperKind
isCoSuperKind :: SuperKind -> Bool
\end{code}
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