Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
712a6f8a
Commit
712a6f8a
authored
Sep 21, 2006
by
audreyt@audreyt.org
Browse files
* 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
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