snu-sf-class / swpp202401

Principles and Practices of Software Development Main Repository
13 stars 4 forks source link

[Project] tail marker -> rcall #158

Open summerBreeze2007 opened 1 month ago

summerBreeze2007 commented 1 month ago

조교님 안녕하세요, 확인 받고 싶은 것이 하나 있어 질문 드립니다. Tail marker를 recursive 한 call 에 붙히면 backend에서 이를 rcall로 바꿔주는 것으로 알고 있는데 혹시 위 사실이 맞나요?

strikef commented 4 weeks ago

네, 맞습니다. @fn 안에서 tail call @fn 을 호출한다면 백엔드에서 rcall로 변환합니다.