I started writing a toy implementation of the SECD implementation based on the description at Wikipedia but I'm stuck at the RAP instruction. I can't figure out how to implement it. I've asked on StackOverflow.com but no responses. I've looked at Olivier Danvy's deconstruction of the SECD machine but I can't relate it to the more imperative description on Wikipedia (maybe my understanding of ML is just too weak).

Is RAP just the tail-recursive version of the apply function? If so then I get it, but the description sounds like something else. Thanks in advance!

## Recent comments

2 days 8 min ago

3 days 18 hours ago

2 weeks 20 hours ago

3 weeks 11 min ago

3 weeks 6 days ago

5 weeks 5 days ago

6 weeks 23 hours ago

7 weeks 1 day ago

7 weeks 5 days ago

7 weeks 5 days ago