https://github.com/mkhan45/RustScript2/blob/155b4c2c80b370a25f161d5a8b37678576f97eaf/lib/eval.ml#L483 The inner state recursive function needs to be thought about a bit more for continuation passing style to work
Activity
Revert "fixes #51"
mkhan45 commentedon Dec 10, 2021
causes other bugs
mkhan45 commentedon Dec 11, 2021
worth noting that elixir solves this by not letting closures be trivially recursive, the function has to accept a recursion function argument, e.g.