16 lines
433 B
Text
16 lines
433 B
Text
0.lib.IO : 1.★ → ★
|
|
ω.lib.print : 1.String → lib.IO {ok}
|
|
ω.lib.main : lib.IO {ok}
|
|
ω.main : lib.IO {ok}
|
|
lib.IO = □
|
|
lib.print = scheme:(lambda (str) (builtin-io (display str) (newline)))
|
|
lib.main = lib.print "hello 🐉"
|
|
#[main] main = lib.main
|
|
;; lib.IO erased
|
|
(define lib.print
|
|
(lambda (str) (builtin-io (display str) (newline))))
|
|
(define lib.main
|
|
(lib.print "hello \x1f409;"))
|
|
(define main
|
|
lib.main)
|
|
hello 🐉
|