Syntax highlighter   How to write portable code on R7RS  There
was a discussion (or rather question about) 'cond-expand'. I was
also wondering about 'cond-expand' why it has 'library' form
even though it can't help to write portable script (not a
library).  Since draft 8 (or 9?), R7RS dropped 'import' syntax
from (scheme base) which means users can't write the code like
following; (import (scheme base) (scheme write))   ((library
(srfi :1))   (import (srfi :1)))  ((library (srfi 1))   (import
(srfi 1))))  (define (print . args) (for-each display args)
(newline)) (print (iota 10 1)) Interestingly, this works most of
the R7RS implementation (well, I only know Chibi and Sagittarius
:-P) and Gauche (probably next release supports R7RS). However
it's still not portable since the *correct* behaviour should be
an error.  Then what is the proper way to make this portable?
The answer is simple, just write the stub library like this; ;;
somewhere load path whare your favourite implementation can
search. (define-library