document Dict.{filter,partition}