Thanks a lot Daniel. 
Sunil.

On Mon, Aug 29, 2011 at 7:27 PM, Ozgur Akgun <ozgurakgun@gmail.com> wrote:
Thanks a lot Daniel, great explanation!

On 29 August 2011 14:49, Daniel Fischer <daniel.is.fischer@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@haskell.org
http://www.haskell.org/mailman/listinfo/beginners