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
Alex D
GHC
Commits
97c49e9e
Commit
97c49e9e
authored
Jan 06, 2016
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spelling in a comment
parent
3f980457
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
compiler/typecheck/TcBinds.hs
compiler/typecheck/TcBinds.hs
+1
-1
No files found.
compiler/typecheck/TcBinds.hs
View file @
97c49e9e
...
...
@@ -1999,7 +1999,7 @@ decideGeneralisationPlan dflags type_env bndr_names lbinds sig_fn
|
otherwise
=
Nothing
-- The Haskell 98 monomorphism res
e
triction
-- The Haskell 98 monomorphism restriction
restricted
(
PatBind
{})
=
True
restricted
(
VarBind
{
var_id
=
v
})
=
no_sig
v
restricted
(
FunBind
{
fun_id
=
v
,
fun_matches
=
m
})
=
restricted_match
m
...
...
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