- as-alist variable variables/valuesprocedure
Returns an alist represented by the request variables/values for the given variable. The request representation for alists is variable.key=value. Example: foo.a=1 would result in '((a . "1")) for the foo variable.
;; considering a http://server:port/path?foo.a=0&foo.b=1 request (let (($ (request-vars))) ($ 'foo as-alist)) ;; => ((a . "0") (b . "1"))
as-alist returns #f when the wanted variable is not sent in the request or it is sent not in the dot notation (e.g., foo=0).