Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Improve @ets tailRec tail position checking heuristic #35

Open
0x706b opened this issue Feb 3, 2022 · 0 comments
Open

Improve @ets tailRec tail position checking heuristic #35

0x706b opened this issue Feb 3, 2022 · 0 comments

Comments

@0x706b
Copy link
Contributor

0x706b commented Feb 3, 2022

Right now, the heuristic that tailRec uses to detect whether a recursive call is in the tail position is overly simple. Neither the checker, nor the transformer, allow for ternary expressions, for example.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant