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
66658eed
Commit
66658eed
authored
Oct 31, 2014
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comments only
parent
7c796336
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
compiler/stranal/WwLib.lhs
compiler/stranal/WwLib.lhs
+2
-1
No files found.
compiler/stranal/WwLib.lhs
View file @
66658eed
...
@@ -528,7 +528,8 @@ can still be specialised by the type-class specialiser, something like
...
@@ -528,7 +528,8 @@ can still be specialised by the type-class specialiser, something like
BUT if f is strict in the Ord dictionary, we might unpack it, to get
BUT if f is strict in the Ord dictionary, we might unpack it, to get
fw :: (a->a->Bool) -> [a] -> Int# -> a
fw :: (a->a->Bool) -> [a] -> Int# -> a
and the type-class specialiser can't specialise that.
and the type-class specialiser can't specialise that. An example is
Trac #6056.
Moreover, dictinoaries can have a lot of fields, so unpacking them can
Moreover, dictinoaries can have a lot of fields, so unpacking them can
increase closure sizes.
increase closure sizes.
...
...
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