The Artima Developer Community
Sponsored Link

Programming in Scala Forum
Symbols?

1 reply on 1 page. Most recent reply: Jul 4, 2008 12:29 AM by Bill Venners

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
JOSEPH A KAUZLARICH

Posts: 1
Nickname: 54090
Registered: Feb, 2008

Symbols? Posted: Jul 3, 2008 11:40 PM
Reply to this message Reply
Advertisement
I'm assuming you could not possibly have overlooked a basic Scala language construct in your book, but I don't seem to see any mention of symbols, i.e.

scala> var a = 'MySymbol
a: Symbol = 'MySymbol

Are discussions of symbols going to be added in future updates of the book? Maybe they are deprecated, or brand new to the language?


Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Re: Symbols? Posted: Jul 4, 2008 12:29 AM
Reply to this message Reply
> I'm assuming you could not possibly have overlooked a
> basic Scala language construct in your book, but I don't
> seem to see any mention of symbols, i.e.
>
> scala> var a = 'MySymbol
> a: Symbol = 'MySymbol
>
> Are discussions of symbols going to be added in future
> updates of the book? Maybe they are deprecated, or brand
> new to the language?

Hi JOSEPH!

Yes, it's in there now. It's in chapter 5, in the section on string literals. But that didn't make it into PrePrint v3.

'thanks

Bill

Flat View: This topic has 1 reply on 1 page
Topic: Problems compiling examples of chapter 32 Previous Topic   Next Topic Topic:

Sponsored Links



Google
  Web Artima.com   

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