Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function tostring from tutorial is missing #19

Open
nixxon opened this issue Sep 10, 2019 · 0 comments
Open

Function tostring from tutorial is missing #19

nixxon opened this issue Sep 10, 2019 · 0 comments

Comments

@nixxon
Copy link

nixxon commented Sep 10, 2019

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant