>>
>> I can answer b) -- S.param("image").flatMap(asLong)
>>
>> asLong comes from BasicTypesHelpers.
>>
>> -Ross
One more quick question about this, more of a Scala question really:
I've noticed both here and in the examples that there is a tendency to
use flatMap() instead of map(). I understand the differences between
the two, but am not sure why flatMap is preferred when there aren't
Lists involved. Any reason? Aren't the two interchangeable in this
case?
Thanks,
--
Jim Wise
[email protected]
pgpAa00XxSc5y.pgp
Description: PGP signature
