Menu

#464 [lassign] syntax

closed-accepted
5
2008-10-23
2007-03-01
Don Porter
No

[lassign] currently requires
at least one varName argument.

The [lassign] operation is perfectly
well-defined for the zero varNames
case. Allowing that would also permit

lassign $list {}$varNameList

without the need to protect against
a possibly empty list in $varNameList.

Discussion

  • Donal K. Fellows

    • assigned_to: dkf --> dgp
     
  • Don Porter

    Don Porter - 2008-10-23

    part of TIP 323

     
  • Don Porter

    Don Porter - 2008-10-23
    • status: open --> closed-accepted
     
MongoDB Logo MongoDB