[Haskell-cafe] Re: Deadlock in real number multiplication (Was: Where's the problem ?)

2007-07-05 Thread apfelmus
Philip Armstrong wrote: genericLength :: (Num i) = [b] - i genericLength []= 0 genericLength (_:l) = 1 + genericLength l So genericLength is lazily building up unevaluated (+) expressions and running out of stack space. Is there a good reason for genericLength to

[Haskell-cafe] Re: Deadlock in real number multiplication (Was: Where's the problem ?)

2007-07-04 Thread Henning Thielemann
On Wed, 4 Jul 2007, Rome wrote: I write a program for fast online multiplication, this means, leading digits are computed first, so this program is able to handle real numbers. My program and Source-Code is available under http://www.romeinf04.de http://www.romeinf04.de but only with