[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell-cafe
Subject:    Re: [Haskell-cafe] Space leak with unsafePerformIO
From:       Henning Thielemann <lemming () henning-thielemann ! de>
Date:       2010-06-28 21:21:33
Message-ID: alpine.DEB.2.00.1006282319380.17563 () anubis ! informatik ! uni-halle ! de
[Download RAW message or body]


On Sun, 27 Jun 2010, Henning Thielemann wrote:

> Maybe I can combine splitAtLazy and (++) to a function like
>  splitAtAndAppend :: [x] -> ([a] -> [b]) -> ([a] -> [b]) -> [a] -> [b]
> but I'm afraid I will need pairs temporarily and then I run into the same 
> problems.

I have now implemented a solution that is tailored to special function 
types in the first ([a] -> [b]) argument. It works, but it is sad that the 
general, more declarative solution is so fragile.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic