mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-11 13:37:57 +03:00
10 lines
245 B
Plaintext
10 lines
245 B
Plaintext
(system-include "carp_io.h")
|
|
|
|
(defmodule IO
|
|
(register println (Fn [(Ref String)] ()))
|
|
(register print (Fn [(Ref String)] ()))
|
|
(register get-line (Fn [] String))
|
|
(register read-file (Fn [&String] String))
|
|
(register exit (Fn [Int] a))
|
|
)
|