Carp/core/IO.carp

10 lines
240 B
Plaintext
Raw Normal View History

2018-01-24 17:53:18 +03:00
(system-include "io.h")
2017-06-26 12:15:03 +03:00
(defmodule IO
(register println (Fn [(Ref String)] ()))
(register print (Fn [(Ref String)] ()))
(register get-line (Fn [] String))
2017-11-28 12:07:46 +03:00
(register read-file (Fn [&String] String))
2017-09-08 13:24:57 +03:00
(register exit (Fn [Int] a))
2017-10-20 18:00:47 +03:00
)