Hi Steve, Thanks! this looks great. I believe studying your code will help me understand it a bit more. thanks a lot.
On Sat, Mar 27, 2021 at 12:19 AM Stephen Chang <[email protected]> wrote: > > Hi Hemanth, > > You can roughly think of it as a series of nested let loops and conditionals. > > I had the same question once and you can see my attempt to > re-implement all the for/X forms (to integrate pattern matching) here: > https://github.com/stchang/generic-bind/blob/master/generic-bind/generic-bind.rkt#L581-L591 > (Not sure if this will help or hurt your understanding :) ) > > Steve > > On Fri, Mar 26, 2021 at 2:14 PM Hemanth Kapila <[email protected]> wrote: > > > > Hi, > > > > Apologies if this is wrong mailing list for the question. > > I am trying to understand how "for/fold" is implemented and I am finding > > it tough to grok for.rkt[1] > > Can some one kindly provide me with some guidance on how to go about > > understanding the code in the collects folder? > > I imagine this is too vague a request , if not off topic. I am trying to > > figure out what racket does when it encounters a `for/fold` in a program. > > > > > > Many thanks, > > Hemanth > > > > > > 1. > > https://github.com/racket/racket/blob/master/racket/collects/racket/private/for.rkt > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Racket Developers" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to [email protected]. > > To view this discussion on the web visit > > https://groups.google.com/d/msgid/racket-dev/5a6a734b-29ed-4f62-b7de-911eeac96f3dn%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "Racket Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-dev/CANOK7kt%2BpYdyHJajczsdaEHkhOuNtpJwbOagHTdAxWQCDRL8ng%40mail.gmail.com.
