* Sorting: I suggest to have the default behavior support the naive 
user. Which means to do sorting by default, so that the output in the 
sequential case is intuitively predictable.

   Sorting for the parallel case does not make much sense to me. I vote 
for keeping the serial and parallel iterators' interfaces the same, and 
have the parallel iterator issue a run-time error when sorting is requested.

* I like the idea of an argument which directories to exclude. This made 
me think about rsync's options --include and --exclude, each of which 
can occur multiple times. E.g. exclude both .svn and .git, or only 
include *.chpl files.

   To implement that in Chapel, short of having glob() parse an option 
string, we could have glob() accept any iterable thing for each argument.

* I suggest that glob() would go multi-locale only when supplied an 
array of target locales, like a domain map.

* I thought of "find" as an alternative for the name "glob", however I 
am not sure it's better. In that light, "glob" makes sense to me.

Vass


On 08/04/14 16:41, Brad Chamberlain wrote:
>
> Hi Chapel Users (and Developers) --
>
> Over the past month or so, Tim Zakian and I have been working on
> designing and prototyping a Chapel iterator for the standard library
> that generates file and directory names from a given start directory,
> similar to ls [-R], glob, wordexp, listdir, find, and the like.
>
> For those who are interested in weighing in on such a capability, we
> invite you to review the attached proposal and give us your feedback on
> what's being proposed and/or any of the open issues listed in the
> proposal.  We're very interested in your feedback and input.
>
> Our hope is to get this into the upcoming 1.10 release which gives us
> just over a month to settle on a design and beef up the prototypes to
> match it.
>
> Thanks very much,
> -Brad


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Chapel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-users

Reply via email to