Questions tagged [letrec]

A recursive let construct in e.g. Scheme whereas the "right hand side" can refer to the name being defined. By naming the implicitly defined procedure, lets us reuse it, i.e. call it recursively.

A recursive let construct in Scheme and other functional languages whereas the "right hand side" can refer to the name being defined. By naming the implicitly defined procedure, lets us reuse it, i.e. call it recursively.

32 questions
0
votes
3 answers

confusion of letrec, Scheme

I am struggling the difference between let, letrec, let* ... since scheme is not my primary programming language, my memory is not existing for long time.. I have this function.. now I am very confusing with letrec here.. this is again…
user1915570
  • 347
  • 1
  • 6
  • 22
0
votes
1 answer

understanding tail recursion 2

Originally I posted one question "understanding a tail-recursive vector->list answer" and this is additional questions. my general understanding in scheme is really vague. so I have now several more questions: ;;;;;; original code…
user1915570
  • 347
  • 1
  • 6
  • 22
1 2
3