Can you point me to the scheme manual that talks about overloading please.

As you are talking about variable numbers of arguments, this article seems to 
explain how it works:
http://www.math.grin.edu/~stone/courses/scheme/readings/variable-arity.xhtml

And in your example, by replacing foo2 with foo you end up with a second 
definition of foo which replaces the first, and then calls itself recursively 
when used - hence your infinite loop.

-- 
paynekj (via gimpusers.com)
_______________________________________________
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list

Reply via email to