Created
January 14, 2013 01:26
-
-
Save richo/4527155 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(let ((fetcher (lambda (key) | |
(lambda (request) | |
(let ((val (assoc key request))) | |
(if key | |
(cdr val) | |
#f)))))) | |
(define get-request-method (fetcher 'method)) | |
(define get-request-path (fetcher 'path)) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment