[Haskell-cafe] some ideas for Haskell', from Python

Alex Queiroz asandroq at gmail.com
Wed Jan 14 14:21:37 EST 2009


Hallo,

On Wed, Jan 14, 2009 at 5:16 PM, Max Rabkin <max.rabkin at gmail.com> wrote:
> On Wed, Jan 14, 2009 at 11:11 AM, Alex Queiroz <asandroq at gmail.com> wrote:
>>     I have one for binding GET/POST variables to regular variables
>> transparently and with error checking, just inside the body of the
>> macro.
>
> Noooo! You reinvented PHP. What happens if a request variable shadows
> the name of another variable used in the body?
>

     I list the variables I want to bind in the form. I do not ask to
automatically bind all of them. :)

(query-let (id name job salary)
   (if (> salary 1000) ...))

-- 
-alex
http://www.ventonegro.org/


More information about the Haskell-Cafe mailing list