Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Scheme String Output Formatting Methods

Name: Anonymous 2014-08-28 5:41

What is your preference? Are there other alternatives possible by composing R7RS base library procedures and macros?

; R7RS compliant version
(import (scheme write))
(define world "World)
(for-each display `("Hello, " ,world "!\n")

; R7RS with SRFI 28/29/48 for formatted string templates
(import (scheme write)
(srfi 28))
(define world "World)
(display (format "Hello, ~a!\n" world))

Name: Anonymous 2014-08-28 5:42

Whoops, wrong board, sorry. Please delete.

Name: Anonymous 2014-08-28 6:43

I'm going to direct my responses to this one.

Name: /prog/ 2014-08-28 8:52

/prog/

Name: Anonymous 2014-08-28 10:32

Take this shit to /prog/ asshole. This is /lounge/. WTF?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List