Timeline for Display level of recursion of a recursive function during execution
Current License: CC BY-SA 3.0
18 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 28, 2015 at 4:22 | vote | accept | iwantmyphd | ||
| Jan 25, 2015 at 3:59 | history | edited | Oleksandr R. | CC BY-SA 3.0 | edited title |
| Jan 25, 2015 at 3:50 | history | edited | m_goldberg | CC BY-SA 3.0 | edited title |
| Jan 25, 2015 at 3:47 | answer | added | m_goldberg | timeline score: 4 | |
| Jan 25, 2015 at 1:07 | comment | added | Oleksandr R. | @OP could you please advise on whether or not the comments above have correctly understand the issue? If not then could you please expand on why Length@Stack[] is not what you are looking for? | |
| Jan 24, 2015 at 19:12 | review | Close votes | |||
| Jan 26, 2015 at 1:27 | |||||
| Jan 22, 2015 at 9:48 | comment | added | Oleksandr R. | @Mr.Wizard I wasn't, as I can't really think of what to say beyond what the documentation gives us already. If you think you can do it justice, please go ahead. | |
| Jan 21, 2015 at 4:59 | comment | added | Mr.Wizard | @Oleksandr Are you planning to post an answer with Stack[]? I chose not to attempt this as I assumed you would. | |
| Jan 18, 2015 at 15:58 | history | tweeted | twitter.com/#!/StackMma/status/556843107879497728 | ||
| Jan 18, 2015 at 1:54 | comment | added | Mr.Wizard | @Oleksandr Yup, this is the one: (18397) | |
| Jan 18, 2015 at 1:53 | comment | added | Mr.Wizard | @Oleksandr It occurs to me that the subject of the question I remember may have been $IterationLimit rather than $RecursionLimit. Sorry if I wasted your time because of that, but I think the link you found is useful. | |
| Jan 18, 2015 at 1:50 | comment | added | Mr.Wizard | @Oleksandr It is not the one I (think I) remember, but thank you. | |
| Jan 18, 2015 at 1:49 | comment | added | Oleksandr R. | @Mr.Wizard stackoverflow.com/questions/7414601/…? I am not sure exactly which question you must be thinking of, but this seems close. | |
| Jan 18, 2015 at 1:36 | comment | added | Mr.Wizard | @Oleksandr Okay, I missed that point. Thanks. Have you tested it? Can you help me find the earlier question? | |
| Jan 18, 2015 at 1:32 | comment | added | Oleksandr R. | @Mr.Wizard the documentation I quoted implies that the correct thing to do is Length@Stack[]. I am not sure if Stack[] is really the most fundamental manifestation of the evaluation stack, but even if not, I think it should suffice. Add StackBegin/StackInhibit to taste. | |
| Jan 18, 2015 at 1:29 | comment | added | Mr.Wizard | @Oleksandr The question how is (I believe) how can you access the present depth before $RecursionLimit is reached. | |
| Jan 18, 2015 at 1:26 | comment | added | Oleksandr R. | From Stack documentation: "The maximum length of Stack[] is limited by $RecursionLimit." | |
| Jan 18, 2015 at 1:00 | history | asked | iwantmyphd | CC BY-SA 3.0 |