Sha256: dc9cd62ce391af2b4756c76814de9b73d66292a5e2889312b3616eb343350080

Contents?: true

Size: 604 Bytes

Versions: 10

Compression:

Stored size: 604 Bytes

Contents

All Scheme implementations display the value of the last evaluated expression before the program terminates.
"Hello world!"

The <tt>display</tt> and <tt>newline</tt> procedures are found in specific modules of the standard library in R6RS and R7RS.
The previous standards have no concept of modules and the entirety of the standard library is loaded by default.

===R5RS===
(display "Hello world!")
(newline)

===R6RS===
(import (rnrs base (6))
        (rnrs io simple (6)))
(display "Hello world!")
(newline)

===R7RS===
(import (scheme base)
        (scheme write))
(display "Hello world!")
(newline)

Version data entries

10 entries across 7 versions & 1 rubygems

Version Path
zettacode-0.1.7 files.zettacode/hello_world.text/scheme.txt
zettacode-0.1.6 files.zettacode/hello_world.text/scheme.txt
zettacode-0.1.6 files.zettacode2/hello_world.text/scheme.txt
zettacode-0.1.5 files.zettacode/hello_world.text/scheme.txt
zettacode-0.1.5 files.zettacode2/hello_world.text/scheme.txt
zettacode-0.1.4 files.zettacode/hello_world.text/scheme.txt
zettacode-0.1.4 files.zettacode2/hello_world.text/scheme.txt
zettacode-0.1.3 files.zettacode/hello_world.text/scheme.txt
zettacode-0.1.2 files.zettacode/hello_world.text/scheme.txt
zettacode-0.1.1 zettacode.files/hello_world.text/scheme.txt