10 Aug
2005
10 Aug
'05
6:47 p.m.
Alan's post made me realize what's happening. Indeed, this last bind() doesn't know that funcFoo and funcBar are functions that it should call. You can tell it to consider them as functions by calling bind() on them:
Rather than wrapping another bind around them, is it possible to do some kind of clever casting, so that bind wouldn't see them as booleans? Btw, is the way I'm using function and bind not an intended use case? It seems natural enough, but by its behavior perhaps no one thought about it before... Thanks, aaron