From e33c5fd7b47c7ac1f800b477d2e43268451e4928 Mon Sep 17 00:00:00 2001 From: hellerve Date: Mon, 28 Oct 2019 14:28:37 +0100 Subject: [PATCH] core: actually register error --- core/IO.carp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/IO.carp b/core/IO.carp index 6a0bd5d4..f4ac5d68 100644 --- a/core/IO.carp +++ b/core/IO.carp @@ -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.")