Re: [racket-users] student produces absolutely bonkers environment lookup code

2021-05-13 Thread 'John Clements' via Racket Users
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

Re: [racket-users] Help in understanding 'letrec' example

2021-05-13 Thread David Storrs
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

Re: [racket-users] Is there a good Racket DSL alternative to Image Magick?

2021-05-13 Thread David Storrs
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:

[racket-users] preview of a cross-compilation tool

2021-05-13 Thread Matthew Flatt
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.

[racket-users] CFP: SLE 2021 - 14th ACM SIGPLAN International Conference on Software Language Engineering

2021-05-13 Thread Andrei Chis
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: