If you think really hard you can probably do a type checker by applying _typeof on f and the args.
/ Martin Nilsson (saturator)
Previous text:
2003-12-08 11:13: Subject: call_callback
Is it really worthwhile? It's only two lines of code and the error handling will probably be different for most implementations anyway.
/ Jonas Walldén