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