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.

445612 (1) [Avatar] Offline
In section 4.1.2, the code listing below "FIXING SELECTBYINDEX",
there is a missing
Nothing ->
rtfeldman (60) [Avatar] Offline
Hm, it looks right to this what you're seeing?
        newSelectedUrl : Maybe String
        newSelectedUrl =
            case newSelectedPhoto of
                Just photo ->
                    Just photo.url

                Nothing ->

If not, maybe it's format-specific? Are you reading on ebook or pdf?