Skip to content

Instantly share code, notes, and snippets.

@theodesp
Created August 22, 2018 11:37
Show Gist options
  • Save theodesp/9ed57d24646eb0c26a1da05ecdcfc600 to your computer and use it in GitHub Desktop.
Save theodesp/9ed57d24646eb0c26a1da05ecdcfc600 to your computer and use it in GitHub Desktop.
Simple main executable scheme #scheme
#!/usr/local/bin/guile \
-e main -s
!#
(define (main args)
;; Usage ./main.scm a b c
(map (lambda (arg) (display arg) (display " "))
(cdr args))
(newline))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment