33 points · by icey · 16y ago · 13 comments
(GET "/books/:isbn" [isbn]
(show-book isbn))
This actually produces a fairly complex handler function, so there's still a fair bit of Compojure-specific code left. But it's true that Compojure will be a significantly more lightweight framework than it currently is.EDIT: realized that really I should have put this in the feature requests. Someone requested it 68 days ago and it's currently #2 on there. Wonder if there's a reason he's ignoring it or if he just hasn't looked recently. In any case, if you agree, upvote the suggestion: http://news.ycombinator.com/item?id=996374