Christophe Weblog Wiki Code Publications Music
alternative printing for the REPL
authorChristophe Rhodes <csr21@cantab.net>
Fri, 3 Sep 2010 07:10:09 +0000 (08:10 +0100)
committerChristophe Rhodes <csr21@cantab.net>
Fri, 3 Sep 2010 07:10:09 +0000 (08:10 +0100)
commitf3a32de1015eb3008fbdd254e72927f50819c029
tree54db5aaf3c45808f5b5ac54361e692d6bfbd85e7
parentab6021d4671892eabc80b7cde045db632176116e
alternative printing for the REPL

instead of using print(), use str().  Also, be even more cautious
about cleaning up in printToString; previously, errors in printing
would lead to a sink to a closed fifo...

Printing is still not really right, and I forsee that we will end up
writing our own printer to get something more lispy.  But at least
this approach tends not to dump huge tables into the REPL.
swank.R