Greetings fellow MochiKitters!

I often find myself having to remove one or two values from a list,
and I cringe a little when I write code in the following pattern:

this.selected = list( ifilterfalse( bind( function(itemid){ return
itemid==item.id }, item ), this.selected ) );

Is there a prettier/better way to do it?

-- 
Chris Snyder
http://chxo.com/

--~--~---------~--~----~------------~-------~--~----~
 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to