Space leak with lazy splitAt and (++)
I have a program that does essentially
let (prefix,suffix) = splitAtLazy infinite input in map f prefix ++ map g suffix
and has a space leak. For a detailed analysis see the thread in Haskell Cafe: https://www.haskell.org/pipermail/haskell-cafe/2010-June/079444.html
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.10.4 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |