tag:blogger.com,1999:blog-8513438391157777465.post5223570395349954241..comments2023-04-07T05:56:45.278-07:00Comments on Re: Factor: Working with CGI: Part 2mrjbq7http://www.blogger.com/profile/06842721076008035602noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8513438391157777465.post-66562711123962616432010-02-04T23:50:47.165-08:002010-02-04T23:50:47.165-08:00Please ignore my comment above. You are returning ...Please ignore my comment above. You are returning single parameter values as sequences in the same manner that multiple values for the same parameter are also passed back as sequences -- exactly as you wrote it in the description. <br /><br />Thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8513438391157777465.post-46970658417120082732010-02-04T23:46:54.609-08:002010-02-04T23:46:54.609-08:00: (query-string) ( string -- assoc )
query>...: (query-string) ( string -- assoc )<br /> query>assoc [ nip ] assoc-filter<br /> [ dup string? [ 1array ] when ] assoc-map ;<br /><br />I don't get the "[ dup string? [ 1array ] when ] assoc-map" portion of the code? <br /><br />If I feed this portion of the code H{ { "a" { "2" "3" } } } that code fragment outputs the same hashtable back to me in the listener. What is that part of the code supposed to do?Anonymousnoreply@blogger.com