Welcome to the CHICKEN Scheme pasting service

no title added by thecombjelly on Thu Oct 4 23:19:15 2012

(define-syntax workspace (syntax-rules () ((_) "~/workspace/")))

(define-syntax hp-repos
  (syntax-rules ()
    ((_) '("datarouter" "index" "lib" "model-index" "site" "services" "text-index" "util" "config"))))

(define-syntax git-all
  (syntax-rules ()
    ((_ arg1 ...)
     (let ((current-dir (current-directory)))
       (map (lambda (repo)
              (change-directory (++ (workspace) repo))
              (newline)
              (print "===== " repo " =====")
              (git arg1 ...))
            (hp-repos))
       (change-directory current-dir)))))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What's the procedure that returns the cdr of a car?
Visually impaired? Let me spell it for you (wav file) download WAV