kimtg / arcadia

An implementation of the Arc programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Function tostring from tutorial is missing

nixxon opened this issue · comments

In tutorial http://www.arclanguage.org/tut.txt, there is a function tostring that is like do except any output generated during the evaluation of its body is sent to a string, which is returned as the value of the whole expression. For example, the expression

(tostring                  
       (prn "domesday")
       (prn "book"))

should evaluate to string "domesday\nbook\n"