18 Jul 2012, 00:27
Avatar_square_pragsmall

Geoffrey Clements (17 posts)

Hi, working through the code in the book. On pad 30 I tried the code from the book:

(->Book “Anathem” “Neal Stephenson”)

and I get:

java.lang.Exception: Unable to resolve symbol: ->Book in this context (NO_SOURCE_FILE:3)

I used google to find that I should have tried:

(Book. “Anathem” “Neal Stephenson”)

Is ->Book old syntax? Should it still be in the book?

  You must be logged in to comment