Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
srean
12 days ago
|
parent
|
context
|
favorite
| on:
Sky – an Elm-inspired language that compiles to Go
That does not address the use case where I find tail recursion most tempting. That would be mutually recursive functions.
If the function can be written as an idiomatic loop I probably would do so in the first place.
help
apgwoz
12 days ago
[–]
You _can_ do trampolines, but that is kind of infectious, or needs to be very explicit with extra code, etc.
reply
srean
12 days ago
|
parent
[–]
Indeed. It's not very efficient though. If I remember correctly Scala does this.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
If the function can be written as an idiomatic loop I probably would do so in the first place.