Mutual Recursion

Tail-call optimization for Ruby

🔖 Tags

🗎 File Tree

⌥ Branches [master]

Clone URL

Latest Commits

2023-07-06 Update homepage — 🔖 v1.0.0

2019-01-27 Increment version — 🔖 v0.0.2

2019-01-27 Add required ruby version

2019-01-27 Add LICENSE

2019-01-27 Updates for initial release — 🔖 v0.0.1

2019-01-27 Refactor tests

2019-01-27 Move functions into module

2019-01-26 Use rake to run tests

More...

README.md

Tail call optimization for mutually (indirectly) and directly recursive functions in Ruby.

The current design uses a trampoline. However, it is implemented in a way that still allows a tail recursive function to easily return a Proc as its terminal value.

examples