tail-call Questions
2
Solved
I am playing around with the aho-corasick algorithm to try and get a little better with F#, and I ran across a problem with the Trie implementations, they are all mutable or can't be tail call opti...
Coolidge asked 22/3, 2011 at 18:8
4
Solved
Sometimes it's simple enough (if the self call is the last statement, it's tail recursion), but there are still cases that confuse me. A professor told me that "if there's no instruction to execute...
Keil asked 9/9, 2010 at 16:32
3
Solved
According to answers to that question:
Which, if any, C++ compilers do tail-recursion optimization?
it seems, that compiler should do tail-recursion optimization.
But I've tried proposed options ...
Sacchariferous asked 5/3, 2010 at 9:17
5
Microsoft's new F# programming language provides the powerful combination of functional programming (first-class lexical closures and tail calls) with an efficient concurrent garbage collector that...
Respirable asked 10/11, 2008 at 13:2
1
© 2022 - 2024 — McMap. All rights reserved.