Do you have to use display to output stuff using r6rs?
Posted
by incrediman
on Stack Overflow
See other posts from Stack Overflow
or by incrediman
Published on 2010-06-03T01:21:03Z
Indexed on
2010/06/03
1:24 UTC
Read the original article
Hit count: 226
Background: I am new to scheme, and am using DrScheme to write my programs.
The following program outputs 12345 when I run the program as r5rs:
12345
However the following program outputs nothing (it's an r6rs program):
#!r6rs
(import (rnrs))
12345
That being said, I can get it to output 12345 by doing this:
#!r6rs
(import (rnrs))
(display 1235)
Is that something new with r6rs, where output only occurs when specifically specified using display
? Or am I just doing something else wrong
© Stack Overflow or respective owner