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

writeln/1 declared as safe in sandbox.pl #5

Closed
torbjornlager opened this issue Jun 23, 2014 · 3 comments
Closed

writeln/1 declared as safe in sandbox.pl #5

torbjornlager opened this issue Jun 23, 2014 · 3 comments

Comments

@torbjornlager
Copy link
Contributor

writeln/1 seems to be available also outside SWISH and I note that it is declared as safe in sandbox.pl. A leftover mistake that should be fixed?

@JanWielemaker
Copy link
Member

Why?  It doesn't harm the computing envitonment, does it?Torbjörn Lager notifications@github.com wrote:writeln/1 seems to be available also outside SWISH and I note that it is declared as safe in sandbox.pl. A leftover mistake that should be fixed?


Reply to this email directly or view it on GitHub.

@torbjornlager
Copy link
Contributor Author

No, it doesn't harm. But is it used? Ah, ok, I see now that it can be used
to print to the terminal. Ok, so maybe it is useful for debugging purposes.

On Wed, Jun 25, 2014 at 9:47 AM, Jan Wielemaker notifications@github.com
wrote:

Why? It doesn't harm the computing envitonment, does it?Torbjörn Lager <
notifications@github.com> wrote:writeln/1 seems to be available also
outside SWISH and I note that it is declared as safe in sandbox.pl. A
leftover mistake that should be fixed?


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#5 (comment)
.

Torbjörn Lager
Professor of General and Computational Linguistics
Department of Philosophy, Linguistics and Theory of Science
University of Gothenburg
Box 200, SE-405 30 Gothenburg, Sweden
Phone: +46317864962

@JanWielemaker
Copy link
Member

Torbjörn Lager notifications@github.com wrote:No, it doesn't harm. But is it used? Ah, ok, I see now that it can be used
to print to the terminal. Ok, so maybe it is useful for debugging purposes. 

If a predicate writes to current output, we can capture the output using
with_output_to/2.

On Wed, Jun 25, 2014 at 9:47 AM, Jan Wielemaker notifications@github.com
wrote:

Why? It doesn't harm the computing envitonment, does it?Torbjörn Lager <
notifications@github.com> wrote:writeln/1 seems to be available also
outside SWISH and I note that it is declared as safe in sandbox.pl. A
leftover mistake that should be fixed?


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#5 (comment)
.

Torbjörn Lager
Professor of General and Computational Linguistics
Department of Philosophy, Linguistics and Theory of Science
University of Gothenburg
Box 200, SE-405 30 Gothenburg, Sweden
Phone: +46317864962

Reply to this email directly or view it on GitHub.

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

2 participants