fukamachi / ningle

Super micro framework for Common Lisp
http://8arrow.org/ningle/
273 stars 25 forks source link

Use symbols for URL params in README #15

Closed dan-passaro closed 8 years ago

dan-passaro commented 8 years ago

Hello,

This seems like a nice framework. I am a Common Lisp newbie and am trying to use Ningle. I think the README is out of date, because when I use a named URL parameter like in "/greet/:name", I can only access the value with this code:

(cdr (assoc :name params))

This code does not seem to work:

(cdr (assoc "name" params :test #'string=))

I updated the README to show the symbol code. I hope it is useful! Thank you for your work on this library!

fukamachi commented 8 years ago

Thanks!