|
|
|
|
|
by SkySkimmer
728 days ago
|
|
If you search for @@loop in TFA the last occurrence is in this paragraph: >if a function is not purely tail-recursive, but contains some tail-recursive calls then the transformation will rewrite those calls but not the other ones. This may result in better code but it's hard to be sure in advance. In such cases (and cases where functions become purely tail-recursive only after inlining), users can force the transformation by using the [@@loop] attribute |
|