Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
nhubbard
8mo ago
0 comments
Share
Kotlin as well, through the ‘tailrec’ marker on a function.
undefined | Better HN
0 comments
default
newest
oldest
kevindamm
8mo ago
ah, thanks, good to know.. but does that make it optional? I kind of like how ocaml requires a letrec annotation on any recursive definition and I don't know when you wouldn't want to add tailrec
j
/
k
navigate · click thread line to collapse