Re: [Haskell-cafe] Please help me spot where space leak occur.

2011-07-27 Thread Jason Dagit
On Fri, Jul 22, 2011 at 1:54 AM, Olexander Kozlov wrote: > Jason, thank you for your help. The hint for using -s option is very > valuable. > It is good to see people answering questions about Haskell here on > haskell-cafe. stackoverflow is another good place to ask. > This is really matter. I

Re: [Haskell-cafe] Please help me spot where space leak occur.

2011-07-22 Thread Olexander Kozlov
Jason, thank you for your help. The hint for using -s option is very valuable. It is good to see people answering questions about Haskell here on haskell-cafe. This is really matter. I hope I will be helpfull some day too :) As for the question I didn't mention in my psot that Fn can be of arbitr

Re: [Haskell-cafe] Please help me spot where space leak occur.

2011-07-21 Thread Jason Dagit
On Thu, Jul 21, 2011 at 1:22 AM, Olexander Kozlov wrote: > Greetings Haskell community, > I stuck with a space leak problem in simple task. I have a function > described with a list of pairs: >    type Fn a b = [(a, b)] > mapping values from a to b. And I have a composition operation which accepts

[Haskell-cafe] Please help me spot where space leak occur.

2011-07-21 Thread Olexander Kozlov
Greetings Haskell community, I stuck with a space leak problem in simple task. I have a function described with a list of pairs: type Fn a b = [(a, b)] mapping values from a to b. And I have a composition operation which accepts two functions and returns theirs composition: compose :: Eq