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