core: actually register error

This commit is contained in:
hellerve 2019-10-28 14:28:37 +01:00
parent ee1a3db4f4
commit e33c5fd7b4

View File

@ -13,7 +13,7 @@
(doc errorln "prints a string ref to stderr, appends a newline.")
(register errorln (Fn [(Ref String)] ()))
(doc error "prints a string ref to stderr, does not append a newline.")
(register print (Fn [(Ref String)] ()))
(register error (Fn [(Ref String)] ()))
(doc get-line "gets a line from stdin.")
(register get-line (Fn [] String))
(doc get-char "gets a character from stdin.")