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

Scheme Output/String Formatting Best Practices

Name: Anonymous 2014-08-28 5:46

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-09-06 7:08

Lisp is a genuinely good (as in superior) language and this ``LITHP'' idiot is just a troll and new. It and C really are the best of bunch.

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