From 71623db37ce901b1d954df4178e33ad1516fac7d Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Sun, 27 Mar 2022 20:00:55 -0400 Subject: [PATCH] Fix prnl in lib.pbl --- src/examples/lib.pbl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/examples/lib.pbl b/src/examples/lib.pbl index d7ffd6e..eaf2b2e 100644 --- a/src/examples/lib.pbl +++ b/src/examples/lib.pbl @@ -1,8 +1,7 @@ #!/usr/bin/pl ; Print with newline (def prnl (fn (_txt) ( - (prn _txt) - (pch 10) + (prn (cat _txt (ch 10))) ))) ; Exponentiate a^b