Re:Idiomatic Monads in Rust
by ainar-g on Thursday April 04, 2019 @04:31PM
(#19576785)
Didn't know about Lua[1], thanks! Although I think I would prefer an explicit
syntax, like Tcl's “tailcall”[2], Perl's “goto &sub”[3], or “become”[4], with
the compiler checking that this is actually a tail-call.
[1]: https://www.lua.org/pil/6.3.html
[2]: https://wiki.tcl-lang.org/page/tailcall
[3]: https://perldoc.perl.org/functions/goto.html
[4]: Which was used in a C-family language I can't remember.