[Haskell-beginners] haskell error message

Ozgur Akgun ozgurakgun at gmail.com
Mon Aug 29 15:57:21 CEST 2011


Thanks a lot Daniel, great explanation!

On 29 August 2011 14:49, Daniel Fischer <daniel.is.fischer at googlemail.com>wrote:

> You have a function with three call patterns (and no previous constructor
> specialisation), limit is 10, fine, specialise.
>
> This function calls a worker. Now, since we had three specialisations
> above, the limit here is 10 `div` 3 = 3.
> The worker would have four call patterns;
> 4 > 3 => message "Hi there, I could have done more, but the limit said I
> shouldn't. You might want to set a higher limit if you think it's
> worthwhile to specialise."
>

Ozgur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110829/397b1d2f/attachment-0001.htm>


More information about the Beginners mailing list