79699303

Date: 2025-07-12 13:21:29
Score: 1
Natty:
Report link
#tclsh 8.6

# Convert a collection into a list
proc collection_to_list {a_collection} {
    set my_list {}
    foreach_in_collection item $a_collection {
        lappend my_list [get_object_name $item]
    }
    return $my_list
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ahmed Abdelazeem