Skip to content

Instantly share code, notes, and snippets.

@asandroq
Created July 3, 2009 19:45
Show Gist options
  • Save asandroq/140277 to your computer and use it in GitHub Desktop.
Save asandroq/140277 to your computer and use it in GitHub Desktop.
;; hypothetical Scheme web DSL
;; note that the macro binds the URI variables
;; to local variables
(GET "/api/show/:user/:repo"
(if (user-has-repo? user repo)
(render-repo-xml user repo)
...))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment