Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-06-08
02:44 • New ticket [3013000fff] dict filter in/ni. artifact: 23be5d90df user: coldstore

dict filter in/ni

Open3013000fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 16 years ago
Descriptionplain2010-06-08 02:44:33
dict filter dictionaryValue in list

I suggest a new [dict filter] which returns a subset of a dict, equivalent in functionality to

dict filter $dict script {n v} {
  $n in $list
}

and its inverse, ni.
Log in (anonymous is fine) to add a comment.