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
a07898e4
Commit
a07898e4
authored
Jun 23, 2015
by
Gabor Greif
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spelling in comments
parent
2765fcf6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
compiler/hsSyn/HsPat.hs
compiler/hsSyn/HsPat.hs
+1
-1
compiler/typecheck/TcHsType.hs
compiler/typecheck/TcHsType.hs
+1
-1
compiler/typecheck/TcSMonad.hs
compiler/typecheck/TcSMonad.hs
+1
-1
No files found.
compiler/hsSyn/HsPat.hs
View file @
a07898e4
...
@@ -137,7 +137,7 @@ data Pat id
...
@@ -137,7 +137,7 @@ data Pat id
|
ConPatOut
{
|
ConPatOut
{
pat_con
::
Located
ConLike
,
pat_con
::
Located
ConLike
,
pat_arg_tys
::
[
Type
],
-- The univeral arg types, 1-1 with the universal
pat_arg_tys
::
[
Type
],
-- The univer
s
al arg types, 1-1 with the universal
-- tyvars of the constructor/pattern synonym
-- tyvars of the constructor/pattern synonym
-- Use (conLikeResTy pat_con pat_arg_tys) to get
-- Use (conLikeResTy pat_con pat_arg_tys) to get
-- the type of the pattern
-- the type of the pattern
...
...
compiler/typecheck/TcHsType.hs
View file @
a07898e4
...
@@ -1242,7 +1242,7 @@ This is bad because throwing away the kind checked type throws away
...
@@ -1242,7 +1242,7 @@ This is bad because throwing away the kind checked type throws away
its splices. But too bad for now. [July 03]
its splices. But too bad for now. [July 03]
Historical note:
Historical note:
We no longer specify that these type variables must be univerally
We no longer specify that these type variables must be univer
s
ally
quantified (lots of email on the subject). If you want to put that
quantified (lots of email on the subject). If you want to put that
back in, you need to
back in, you need to
a) Do a checkSigTyVars after thing_inside
a) Do a checkSigTyVars after thing_inside
...
...
compiler/typecheck/TcSMonad.hs
View file @
a07898e4
...
@@ -763,7 +763,7 @@ The idea is that
...
@@ -763,7 +763,7 @@ The idea is that
have (a -fs-> a) in S, which contradicts (WF2).
have (a -fs-> a) in S, which contradicts (WF2).
* The extended substitution satisfies (WF1) and (WF2)
* The extended substitution satisfies (WF1) and (WF2)
- (K1) plus (L1) guarantee that the extended substiution satisfies (WF1).
- (K1) plus (L1) guarantee that the extended substi
t
ution satisfies (WF1).
- (T3) guarantees (WF2).
- (T3) guarantees (WF2).
* (K2) is about inertness. Intuitively, any infinite chain T^0(f,t),
* (K2) is about inertness. Intuitively, any infinite chain T^0(f,t),
...
...
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