[web-devel] Upgrading from Yesod 4.0 to 5.0

Rehno Lindeque errantkid at gmail.com
Tue Sep 14 11:29:26 CEST 2010


Ah, I see  http://staticroute?key=value. Thank you!

On Tue, Sep 14, 2010 at 10:56 AM, Paolo Losi <paolo.losi at gmail.com> wrote:
> It's for representing the query string, read it like this:
>
> [(Key, Value)]
>
> Paolo
>
> On Tue, Sep 14, 2010 at 10:44 AM, Rehno Lindeque <errantkid at gmail.com> wrote:
>> Hi all, I'm upgrading UrbanListing to Yesod 5.0 from 4.0 after a long
>> hiatus. So I'm feeling a bit rusty :)
>>
>> I was wondering about the new signature for StaticRoute:
>>
>>>  StaticRoute [String] [(String, String)]
>>
>> What is the purpose of the second argument [(String),(String)]? I
>> couldn't pick it up from the documentation.
>>
>> Regards,
>> Rehno
>> _______________________________________________
>> web-devel mailing list
>> web-devel at haskell.org
>> http://www.haskell.org/mailman/listinfo/web-devel
>>
>
>
>
> --
> Paolo Losi
> e-mail: paolo at enuan.com
> mob:   +39 348 7705261
>
> ENUAN Srl
> Via XX Settembre, 12 - 29100 Piacenza
>


More information about the web-devel mailing list