Hello,

I just found the following prototype in chicken.h:

C_fctexport void C_apply(C_word c, C_word closure, C_word k, C_word fn, ...) C_noret;

I wondered why on earth there was a closure parameter and a fn parameter. Reading the sourcecode of runtime.c carefully reveiled that the closure parameter is apparently not used at all, so what is the reason for its existence?

Ciao,
Thomas


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to