Hello,

The docs for in-directory 
<https://docs.racket-lang.org/reference/sequences.html?q=in-directory#%28def._%28%28lib._racket%2Fprivate%2Fbase..rkt%29._in-directory%29%29>
 
state:

> The immediate content of each directory is reported as sorted by path<?, 
and the content of a subdirectory is reported before subsequent paths 
within the directory.

However, the docs also show:

> (current-directory (collection-path "info"))
> (for/list ([f (in-directory)])
     f)
'(#<path:main.rkt>
  #<path:compiled>
  #<path:compiled/main_rkt.dep>
  #<path:compiled/main_rkt.zo>)

Isn't this not getting sorted correctly? I am seeing that calls to 
(in-directory) do not have sorted results, but calls to (in-directory 
"path") do have sorted results.

Evan

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/ce5d4e2e-9954-4ec5-a343-072a822383d5n%40googlegroups.com.

Reply via email to