tag:blogger.com,1999:blog-2744072865491516720.post7664526892055997839..comments2023-05-03T06:35:33.259-04:00Comments on Higher Logics: Towards the best collection API... in C#. And some partial applications too.Sandro Magihttp://www.blogger.com/profile/05446177882449578817noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-2744072865491516720.post-13332697730189882522008-01-17T12:25:00.000-05:002008-01-17T12:25:00.000-05:001. The CLR unfortunately does not support tail cal...1. The CLR unfortunately does not support tail calls just fine, it supports them poorly, despite <A HREF="http://lambda-the-ultimate.org/node/1333" REL="nofollow">work demonstrating that tail calls are not in conflict with stack inspection.</A><BR/><BR/>2. I think there is no iterative equivalent of SuperFold, due to the mutual recursion between self and proc.Sandro Magihttps://www.blogger.com/profile/05446177882449578817noreply@blogger.comtag:blogger.com,1999:blog-2744072865491516720.post-56771442687971704842008-01-17T03:21:00.000-05:002008-01-17T03:21:00.000-05:00As C# does not support tail calls (the CLR does ho...As C# does not support tail calls (the CLR does however support them just fine), you should not use a recursive construct. Rewriting the recursion to use iteration is fairly simply in the case, and should be employed.leppiehttps://www.blogger.com/profile/13269210098337281803noreply@blogger.com