Re: [racket-users] in-directory sorted results

2020-08-06 Thread evdubs
I created a PR for a possible fix for this. I am unsure if the (directory-list) implementation in kw-file.rkt needs to be calling sort. Evan On Monday, August 3, 2020 at 3:05:55 AM UTC-10 evdubs wrote: > Sorry, I cherry-picked the doc example as an

Re: [racket-users] in-directory sorted results

2020-08-03 Thread evdubs
Sorry, I cherry-picked the doc example as an "easy" example that others might be able to easily observe. However, please imagine the following filesystem: /var/tmp/test/1.txt /var/tmp/test/2.txt /var/tmp/test/3.txt /var/tmp/test/4.txt The following shows these files in order: > (for/list ([f

Re: [racket-users] in-directory sorted results

2020-08-03 Thread Matthew Flatt
At Sun, 2 Aug 2020 18:38:18 -0700 (PDT), evdubs wrote: > However, the docs also show: > > > (current-directory (collection-path "info")) > > (for/list ([f (in-directory)]) > f) > '(# > # > # > #) > > Isn't this not getting sorted correctly? I am seeing that calls to > (in-directory)