[Haskell-beginners] haskell error message

Sunil S Nandihalli sunil.nandihalli at gmail.com
Tue Aug 30 07:31:29 CEST 2011


Thanks a lot Daniel.
Sunil.

On Mon, Aug 29, 2011 at 7:27 PM, Ozgur Akgun <ozgurakgun at gmail.com> wrote:

> 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
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110830/b6c6f160/attachment-0001.htm>


More information about the Beginners mailing list