aboutsummaryrefslogtreecommitdiff
path: root/repl.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2017-06-01 10:39:29 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2017-06-01 10:41:11 +0200
commit0ae4a423354a75200ba476e245e4068400165797 (patch)
treecd54f9160b4130628c8426b6797740360f5582fa /repl.c
parent863ea189ebaa9e7bd5226a71c443c14c98406b52 (diff)
downloadell-0ae4a423354a75200ba476e245e4068400165797.tar.gz
ell-0ae4a423354a75200ba476e245e4068400165797.tar.xz
ell-0ae4a423354a75200ba476e245e4068400165797.zip
Make the printer generic
Now you can concatenate lists like strings.
Diffstat (limited to 'repl.c')
-rw-r--r--repl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/repl.c b/repl.c
index 03d832a..e84af3a 100644
--- a/repl.c
+++ b/repl.c
@@ -36,7 +36,7 @@ run (struct ell *ell, struct ell_v *program) {
ell->error = NULL;
ell->memory_failure = false;
} else {
- ell_print_seq (result);
+ ell_print_seq (&ell_stdout_printer, result);
putchar ('\n');
ell_free_seq (result);
}