1
0
Fork 0
compile-r7rs/r7rs-testfiles/main.scm

19 lines
445 B
Scheme

(import (scheme base)
(scheme write)
(scheme process-context)
(foo bar)
(hello world)
(other hellolib))
(baz)
(hello-world)
(define l (list "1" "2" "3"))
;; Implementations are allowed to give different amout of args
(cond-expand
(meevax (when (> (length (command-line)) 3) (write l)))
(mit (when (> (length (command-line)) 3) (write l)))
(else (write (list-tail (command-line) 1))))
(over-9000)