Re: Help in understanding 'letrec' example

Utkarsh Singh <[email protected]> Fri, 14 May 2021 20:04:51 +0530
Newsgroups gmane.comp.lang.racket.user,gmane.lisp.scheme.plt
Message-ID <[email protected]>
Hi David,

On 2021-05-13, 13:12 -0400, David Storrs <[email protected]> wrote:

> 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)))

Thanks! This looks good.

-- 
Utkarsh Singh
http://utkarshsingh.xyz

-- 
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/87sg2p759w.fsf%40gmail.com.