Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
11b79683
Commit
11b79683
authored
Nov 13, 2009
by
simonpj@microsoft.com
Browse files
Wibble to comment
parent
cad6d468
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/deSugar/DsBinds.lhs
View file @
11b79683
...
...
@@ -376,9 +376,9 @@ get to do the inlining, which is a Terribly Bad thing given that the
user said "inline"!
To avoid this we pre-emptively eta-expand the definition, so that foo
has arity
2 (one for the Eq and one for x); and that in turn should
mean that (foo d) is a PAP and we don't share it.
has
the
arity
with which it is declared in the source code. In this
example it has arity 2 (one for the Eq and one for x). Doing this
should mean that (foo d) is a PAP and we don't share it.
Note [Nested arities]
~~~~~~~~~~~~~~~~~~~~~
...
...
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