Assuming elements a and b have compare() registered, I'm currently
using the following:

intersect = function(a,b){
        return filter(partial(function(c,d){return
filter(partial(function(e,f){return
!compare(e,f);},d),c).length>0;},b),a);
}


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to