Ah right yeah - I thought it was implicit :)
On 4 Jan 2010, at 22:09, Ross Mellgren wrote:
> Nope, it's not a implicit extension of String or anything, it's just a
> plain method def asLong(s: String): Box[Long] in BasicTypesHelpers
>
> -Ross
>
> On Jan 4, 2010, at 5:08 PM, Timothy Perrett wrote:
>
>> Shouldnt that be:
>>
>> S.param("image").flatMap(_.asLong)
>>
>> Cheers, Tim
>>
>> On 4 Jan 2010, at 21:45, Ross Mellgren wrote:
>>
>>> S.param("image").flatMap(asLong)
>>
>> --
>>
>> You received this message because you are subscribed to the Google
>> Groups "Lift" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/liftweb?hl=en
>> .
>>
>>
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en.