aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fib.kpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fib.kpl b/fib.kpl
index 224e834..ac517dc 100644
--- a/fib.kpl
+++ b/fib.kpl
@@ -2,7 +2,7 @@
// Fibonacci Example
`export fib_recursive : `{[I64 n]
- ? n < 0 { .error $ "n Cannot Be Negative" }
+ ? n < 0 { `return.error $ "n Cannot Be Negative" }
fib : `{[I64 n]
? {
n = 0 { 0 }