Menu

Proposed change to delimitedList interface

2004-01-07
2004-01-08
  • Paul McGuire

    Paul McGuire - 2004-01-07

    Since version 1.0, delimitedList has always returned either a Group, or a Combine expression, depending on the optional 'combine' argument.  Also, the delimiters are always suppressed.  Here are the changes I'd like to make:
    1. For Combine lists, *not* suppress the delimiters.  The most common use for delimitedList's with combine=True is to specify scoped variables, such as a.b.c, or a:🅱️:c, or a/b/c.  For all of these, the delimiters should be retained, not suppressed.
    2. For ordinary lists, I would like to remove the automatic Group'ing of the list elements.  Instead, I'd like to have delimitedList just return the delimited values, suppressing the delimiters, and leave the Group'ing to be the responsibility of the caller.

    Feedback?

     
    • Paul McGuire

      Paul McGuire - 2004-01-08

      Well, I'll take silence for assent.

      New changes are in v 1.0.4, available *now*!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.