Maybe a matcher like (http-method foo) that expands to (regexp #px"^(?i:foo)$") ?
10 minutes ago, Jay McCarthy wrote: > I like the idea of the match patterns... but I'm worried about the details. > > The names are very common: get, post, head, etc. And I think exporting > them as http-method-get or GET, etc would be hideous. > > Also, there is no exhaustive list of valid HTTP methods... anything > can be used. And even the lisf of commonly used ones is long: > > http://annevankesteren.nl/2007/10/http-methods (as of 2007) > > Do you have any ideas for a solution to this? -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _________________________ Racket Developers list: http://lists.racket-lang.org/dev