summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-05-16 15:10:01 -0400
committernodist <kevin.comas.git@gmail.com>2026-05-16 15:10:01 -0400
commit057db14c6f6373b75930d76f22aa5a0e2955a728 (patch)
tree892151067a9e038b0bf5e12ab69fa1881735a7bb
parentda478d8063e2f649c8d7b4bc6579e8afbd8b9ab0 (diff)
use `call_sync
-rw-r--r--fib.kpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fib.kpl b/fib.kpl
index a907739..e8ebeb8 100644
--- a/fib.kpl
+++ b/fib.kpl
@@ -5,6 +5,6 @@ fib : Fn[n] $ (
? {
n <= 0 { 0 }
n < 3 { 2 }
- { `sync(fib; n - 1) + fib `sync n - 2 }
+ { `call_sync(fib; n - 1) + fib `call_sync n - 2 }
}
)