The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

nresni (8) [Avatar] Offline
#1
Hi,

In #D, would not it be

List(s1, s2, s3).
    map(calculateInterest(_, dateRange)).
    filter(_.isSuccess)


instead of

List(s1, s2, s3).map(calculateInterest(_, dateRange)
  .filter(_.isDefined)


otherwise missing a brace after map function

++

nresni

Debasish Ghosh (116) [Avatar] Offline
#2
Sure .. Thanks for pointing out .. will correct it in the next MEAP .. Thanks.