summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ack.kpl2
-rw-r--r--fib.kpl2
-rw-r--r--fib_import.kpl4
3 files changed, 4 insertions, 4 deletions
diff --git a/ack.kpl b/ack.kpl
index 257e142..3aa6c1d 100644
--- a/ack.kpl
+++ b/ack.kpl
@@ -21,7 +21,7 @@
)
`is_main Fn $ (
- ( args ) `use "sys"
+ `use "sys" [args]
? 4 != `length args {
`return `error String $ (
"#BOLD#RED#Got: %#\n" `format " " `join args
diff --git a/fib.kpl b/fib.kpl
index 540ab5a..18d074c 100644
--- a/fib.kpl
+++ b/fib.kpl
@@ -26,7 +26,7 @@
)
`is_main Fn $ (
- ( args ) `use "sys"
+ `use "sys" [args]
? 3 != `length args {
`return `error String $ (
"#BOLD#RED#Got: %#\n" `format " " `join args
diff --git a/fib_import.kpl b/fib_import.kpl
index 599204f..75bfe48 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"
+`use "io" [write; stdout]
+`import "./fib.kpl" [fib_string]
@ 0 .. 30 {[n]
write `sync (stdout; fib_string `sync n)