aboutsummaryrefslogtreecommitdiff
path: root/examples/learn/21-host.zc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/learn/21-host.zc')
-rw-r--r--examples/learn/21-host.zc6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/learn/21-host.zc b/examples/learn/21-host.zc
index 550e747..ca77c41 100644
--- a/examples/learn/21-host.zc
+++ b/examples/learn/21-host.zc
@@ -1,5 +1,5 @@
-include "src/lib/std.zc";
+namespace;
+include rt, std;
fn main() {
- put_n(Host.now() > 0); put_c(10);
- return 0;
+ rt.put_n(std.Host.now() > 0); rt.put_c(10);
}