On 3/11/19, 'John Clements' via Racket Users <racket-users@googlegroups.com> wrote: > I would suggest maybe just using racket here: > > #lang racket > > (require setup/parallel-build) > > (define racket-files > (for/list ([file (in-directory "/tmp")] > #:when (regexp-match #px"\\.rkt$" file)) > file)) > > (parallel-compile-files racket-files > #:worker-count 8)
Racket 6.7 and later has a globbing library. Now you can write: (require file/glob) (define racket-files (glob "/tmp/***.rkt")) ... but since this is not what you'd write in most (all?) shells, maybe the library should treat "/**/" instead of "**" specially. -- 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. For more options, visit https://groups.google.com/d/optout.