Yep, I think that’s probably on the money. I guess this is really a classic
example of the problem with writing code using internet search.
Many thanks!
> On May 7, 2021, at 4:38 PM, Ben Greenman wrote:
>
> On 5/7/21, Shu-Hung You wrote:
>> Not that I have any idea of what's going on, but
Incidentally, a more concise way of doing this would be:
(define target (build-path "tarzan")) ; convert to path only once
(for/or ([item (in-directory "/tmp/test")]) ; or whatever directory you
want to start in
(equal? target (file-name-from-path item)))
On Sat, May 8, 2021 at 3:50 AM Utkarsh
On Wed, May 12, 2021 at 9:21 PM Ben Greenman
wrote:
> On 5/12/21, Robert Haisfield wrote:
> > Daniel, that's awesome. How would I filter down this list according to
> the
> > regex?
> >
> > (define list-of-files (map path->string (directory-list starting-path)))
>
> You can wrap it in a filter:
While `raco exe` in v8.1 very nearly supports cross-builds of Racket
executables[*], it's not easy to pass the right flags and set up the
needed target-platform distributions.
The `raco cross` command provided by the new "raco-cross" package wraps
Racket tools to simplify all of that management.
14th ACM SIGPLAN International Conference on Software Language Engineering
(SLE 2021)
October 17-19, 2021
Chicago, Illinois
https://conf.researchr.org/home/sle-2021
http://www.sleconf.org/2021
Follow us on twitter:
5 matches
Mail list logo