1. Pypy
  2. Untitled project
  3. lang-scheme

Commits

Jürgen Bömmels  committed 9cc06dd

write (and not display) the result of an evaluation

  • Participants
  • Parent commits 5a01480
  • Branches default

Comments (0)

Files changed (1)

File scheme/interactive.py

View file
  • Ignore whitespace
                 if to_exec == "":
                     print
                     raise SchemeQuit
-                print parse(to_exec)[0].eval(ctx).to_string()
+                print parse(to_exec)[0].eval(ctx).to_repr()
             except SchemeQuit, e:
                 break
             except ContinuationReturn, e: