Tcl Source Code

View Ticket
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Ticket UUID: 1671951
Title: [lrepeat] syntax
Type: RFE Version: None
Submitter: dgp Created on: 2007-03-01 19:21:03
Subsystem: 17. Commands I-L Assigned To: dgp
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2008-10-24 01:15:04
Resolution: Accepted Closed By: dgp
    Closed on: 2008-10-23 18:15:04
Description:
The [lrepeat] command insists
on a strictly positive integer
argument for the number of
repetitions.

The [lrepeat] operations is
well-defined for a repeat count
argument value of zero, to
produce an empty list.  I request
that value be permitted.
User Comments: dgp added on 2008-10-24 01:15:04:
part of TIP 323.