The Artima Developer Community
Sponsored Link

Programming in Scala Forum
thinko on p70

0 replies on 1 page.

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 0 replies on 1 page
Hunter Kelly

Posts: 4
Nickname: retnuh
Registered: Apr, 2003

thinko on p70 Posted: Apr 24, 2008 9:13 AM
Reply to this message Reply
Advertisement
In the no. 2 footnote on p70, it says:

If the method
name ends in a colon, then the method is invoked on the right hand operand. For example, in
a ::: b, the ::: method is invoked on a, passing in b, like this: b.:::(a). Thus, b prepends
a to itself and returns the result.


Surely that should read "For example, in a ::: b, the ::: method is invoked on b, passing in a, like this: b.:::(a). Thus, b prepends
a to itself and returns the result."

Topic: mis-matched names in code sample on page 155 Previous Topic   Next Topic Topic: misspelling

Sponsored Links



Google
  Web Artima.com   

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