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

2021-05-14 Thread Utkarsh Singh
Hi David, On 2021-05-13, 13:12 -0400, David Storrs 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?

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

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

2021-05-08 Thread Utkarsh Singh
Hi, First of all I would like to thank Racket community for creating and maintaining top quality documentation at https://docs.racket-lang.org/ and even providing a local copy for it. Currently I am having some difficulties in understanding this letrec example from Racket Guide docs