The Artima Developer Community
Sponsored Link

Programming in Scala Forum
fromPath no longer exists

1 reply on 1 page. Most recent reply: Dec 24, 2010 9:23 AM by George Berger

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Patrick Abeya

Posts: 2
Nickname: wombat2k
Registered: Aug, 2010

fromPath no longer exists Posted: Dec 24, 2010 8:20 AM
Reply to this message Reply
Advertisement
Looking at listing 3.10; "Reading lines from a file."; at page 100 in the 2nd edition, it appears fromPath no longer exists in Scala 2.8 and should be changed to fromFile.


George Berger

Posts: 24
Nickname: gcb
Registered: Jul, 2007

Re: fromPath no longer exists Posted: Dec 24, 2010 9:23 AM
Reply to this message Reply
That's fixed in the current version of the book. You can download the latest copy from your settings page http://www.artima.com/account.

Flat View: This topic has 1 reply on 1 page
Topic: Chapter 10 - example on page 247 Previous Topic   Next Topic Topic: get rid of Rational's 'private val g'?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use