[GHC] #2440: Bad code with type families
GHC
trac at galois.com
Mon Dec 8 21:25:54 EST 2008
#2440: Bad code with type families
-----------------------------------------+----------------------------------
Reporter: rl | Owner:
Type: run-time performance bug | Status: new
Priority: normal | Milestone: 6.10 branch
Component: Compiler | Version: 6.9
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
-----------------------------------------+----------------------------------
Comment (by chak):
Replying to [comment:7 batterseapower]:
> (Repost for formatting reasons...)
>
> Is there some reason the coercion for this case is so complicated? It
seems to me (with my admittedly limited knowledge of type coercions) that
we could improve it to:
You are right that coercions sometimes get overly complicated. That is
often due to shortcomings of the representation used when generating these
coercions. We would like to fix that, but so far haven't settled on
exactly how (and also like to avoid rearranging the source in many
places).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2440#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list