]> rhodes.io Git - swankr.git/commit
Christophe Weblog Wiki Code Publications Music
sort out printing functions
authorChristophe Rhodes <csr21@cantab.net>
Fri, 1 Oct 2010 15:18:24 +0000 (16:18 +0100)
committerChristophe Rhodes <csr21@cantab.net>
Fri, 1 Oct 2010 15:18:24 +0000 (16:18 +0100)
commit7bdd9a1b2eda5ba7284ccb86964aceeea584a0c9
tree323cd728f80474685743a2a3b5d49077b24e139d
parent3cf3720a2c0a72d6f722a9b990891a27301fadcf
sort out printing functions

R has capture.output as equivalent to with-output-to-string, so use it.

printToString, used by the slime-repl, now reverts back to calling
print.  New function prin1ToString, used by swank:interactive-eval and
swank:eval-and-grab-output, uses deparse.
swank.R