[GHC] #1643: Unnecessary dictionaries
GHC
trac at galois.com
Mon Aug 27 17:52:19 EDT 2007
#1643: Unnecessary dictionaries
-------------------------+--------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.7
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: MacOS X | Testcase:
Architecture: x86 |
-------------------------+--------------------------------------------------
Comment (by chevalier at alum.wellesley.edu):
{{{-fdicts-cheap}}} does the trick as well. I notice there's a comment on
line 1045 of {{{coreSyn/CoreUtils.lhs}}} that says:
" -- One could go further and make exprIsCheap reply True to any
-- dictionary-typed expression, but that's more work."
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1643>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list