From 9c4bd70bcf7a8672c5e7d7d0a0579304f7c67048 Mon Sep 17 00:00:00 2001 From: nodist Date: Mon, 8 Jun 2026 11:37:47 -0400 Subject: remove assigment from namespace --- ack.kpl | 2 +- fib.kpl | 2 +- fib_import.kpl | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ack.kpl b/ack.kpl index 5b13d38..209a16d 100644 --- a/ack.kpl +++ b/ack.kpl @@ -21,7 +21,7 @@ ) `is_main Fn $ ( - ( args ) : `use "sys" + ( args ) `use "sys" ? 4 != `length args { `return `error String $ ( "#BOLD#RED#Got: %#\n" `format `join args diff --git a/fib.kpl b/fib.kpl index 8231a9d..1dd244e 100644 --- a/fib.kpl +++ b/fib.kpl @@ -26,7 +26,7 @@ ) `is_main Fn $ ( - ( args ) : `use "sys" + ( args ) `use "sys" ? 3 != `length args { `return `error String $ ( "#BOLD#RED#Got: %#\n" `format `join args diff --git a/fib_import.kpl b/fib_import.kpl index 0c51fec..599204f 100644 --- a/fib_import.kpl +++ b/fib_import.kpl @@ -1,8 +1,8 @@ // Import and run fib_string function -( write; stdout ) : `use "io" -( fib_string ) : `import "./fib.kpl" +( write; stdout ) `use "io" +( fib_string ) `import "./fib.kpl" @ 0 .. 30 {[n] write `sync (stdout; fib_string `sync n) -- cgit v1.2.3