#2465: View + Pattern Match not fused sufficiently
---------------------------------------------+------------------------------
Reporter: ryani | Owner:
Type: compile-time performance bug | Status: new
Priority: normal | Component: Compiler
Version: 6.8.2 | Severity: normal
Keywords: | Testcase:
Architecture: x86 | Os: Windows
---------------------------------------------+------------------------------
This came up while playing with the ICFP2007 task.
I have a function {{{dnaView :: DNA -> [D]}}}; DNA is a {{{[ByteString]}}}
and D is just the enum {{{I|C|F|P}}}. When I call a function that just
pattern matches on the result, I think the pattern matching function
should be fused with the view -- the view should run as a coroutine.
I've attached an example.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2465>
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