Automatically display evaluation results in REPL

This commit is contained in:
Shunsuke Shibayama 2022-08-14 20:51:17 +09:00
parent 78e30b3867
commit beb0965cde
3 changed files with 14 additions and 5 deletions

View file

@ -577,9 +577,6 @@ impl Context {
],
NoneType,
);
if cfg!(feature = "debug") {
self.register_impl("p!", t_print.clone(), Const, Private);
}
self.register_impl("print!", t_print, Const, Private);
self.register_impl("input!", t_input, Const, Private);
self.register_impl("if!", t_if, Const, Private);