summaryrefslogtreecommitdiff
path: root/fib_import.kpl
diff options
context:
space:
mode:
Diffstat (limited to 'fib_import.kpl')
-rw-r--r--fib_import.kpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/fib_import.kpl b/fib_import.kpl
index d5a73bb..0c51fec 100644
--- a/fib_import.kpl
+++ b/fib_import.kpl
@@ -1,8 +1,9 @@
// Import and run fib_string function
+( write; stdout ) : `use "io"
( fib_string ) : `import "./fib.kpl"
@ 0 .. 30 {[n]
- `print fib_string `sync n
+ write `sync (stdout; fib_string `sync n)
}