aboutsummaryrefslogtreecommitdiff
path: root/ack.kpl
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-11-13 16:28:06 -0500
committernodist <kevin.comas.git@gmail.com>2026-11-13 16:28:06 -0500
commitc5a80c0c4a1da4665da90a98eaf9f3870d18dd6b (patch)
treeaececbc71669dee6546e80164501b22a3a14ed0b /ack.kpl
parent26dfb9719d8101cb12611209ac1004e66902aa86 (diff)
rewriteHEADmain
Diffstat (limited to 'ack.kpl')
-rw-r--r--ack.kpl14
1 files changed, 0 insertions, 14 deletions
diff --git a/ack.kpl b/ack.kpl
deleted file mode 100644
index 29d4716..0000000
--- a/ack.kpl
+++ /dev/null
@@ -1,14 +0,0 @@
-
-// Ackerman Function Example
-
-`export ack : `{[I64 m; I64 n]
- ? |(m < 0; n < 0) { `return.error $ "m And n Cannot Be Negative" }
- ack_native : `{[I64 m; I64 n]
- ? {
- m = 0 { n + 1 }
- &(m > 0; n = 0) { ack_native `call (m - 1; 1) }
- { ack_native `call (m - 1; ack_native `call (m; n - 1)) }
- }
- }
- ack_native `call (m; n)
-}