#1117: [2,4..10] is not a good list producer
---------------------------------+------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.6
Severity: normal | Resolution:
Keywords: rewrite rules | Difficulty: Easy (1 hr)
Testcase: | Architecture: Multiple
Os: Multiple |
---------------------------------+------------------------------------------
Comment (by kirsten):
enumFromThenTo looks like a good producer to me (it's defined in terms of
map, or at least the default implementation is, just like the default
implementations of enumFrom, enumFromThen, and enumFromTo). Can you be
more specific about what problem you're seeing? If you have code using it
that you would expect to be deforested that isn't, could you post a test
case?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1117>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs