You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It may be convenient/legible to have a rune or pattern that names the $ arm of a core something like loop instead. You can do this manually, but e.g. |, loop or similar.
|%
++ factorial
|= x=@ud
=/ total 1
|, loop
?~ x
total
loop(total (mul total x), x (sub x 1))
--
The text was updated successfully, but these errors were encountered:
In my mind, when in a trap $ just means loop. Even with nested loops ^$ is pretty clear. Perhaps this rune would be useful for cases of many nested traps with non-trivial calling patterns.
It may be convenient/legible to have a rune or pattern that names the
$
arm of a core something likeloop
instead. You can do this manually, but e.g.|, loop
or similar.The text was updated successfully, but these errors were encountered: