diff options
Diffstat (limited to 'php/step9_try.php')
| -rw-r--r-- | php/step9_try.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/php/step9_try.php b/php/step9_try.php index 0470763..bb7fd27 100644 --- a/php/step9_try.php +++ b/php/step9_try.php @@ -160,7 +160,7 @@ function MAL_EVAL($ast, $env) { // print function MAL_PRINT($exp) { - return _pr_str($exp, True) . "\n"; + return _pr_str($exp, True); } // repl @@ -200,7 +200,7 @@ do { $line = mal_readline("user> "); if ($line === NULL) { break; } if ($line !== "") { - print(rep($line)); + print(rep($line) . "\n"); } } catch (BlankException $e) { continue; |
