Skip to content

Commit

Permalink
Putting back sans function.
Browse files Browse the repository at this point in the history
  • Loading branch information
gigamonkey committed Nov 14, 2011
1 parent e137519 commit 5538f27
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions util.lisp
Expand Up @@ -212,3 +212,6 @@ inclusion in HTML output."
(escaped (or host (address (acceptor request)))) (escaped (or host (address (acceptor request))))
(scan ":\\d+$" (or host "")) (scan ":\\d+$" (or host ""))
(port (acceptor request)))))) (port (acceptor request))))))

(defun sans (args &rest to-remove)
(loop for (k v) on args by #'cddr unless (member k to-remove) collect k and collect v))

0 comments on commit 5538f27

Please sign in to comment.