Skip to main content
Make the question more brief and on-topic (shouldn't ask for an off-site resource)
Source Link
Chris Martin
  • 30.9k
  • 12
  • 83
  • 142

Scala punctuation (AKA symbols and What do all of Scala's symbolic operators) mean?

I'm reading some Scala code, trying to learn the language and understand the code itself, and I keep coming across some unintelligible punctuation that does stuffsyntax has a lot of symbols. The problem is that it's pretty much impossibleSince these kinds of names are difficult to search in anyfind using search engine for punctuationengines, a comprehensive list of them would be helpful.

  • it's all filtered out before the query gets processed.

This is compounded by the fact that I haven't found any single document that outlinesWhat are all of the insane shortcuts that Scala seems to havesymbols in an easy way.Scala, and what does each of them do?

Can you point meIn particular, I'd like to know about ->, or better yet write||=, such a guide? Just a comment++=, document<=, HTML page or blog post with a list of punctuation_._, ::, and the thing it does :+=. In particular, I'm confused about:

 -> ||= ++= <= _._ :: :+= 

Scala punctuation (AKA symbols and operators)

I'm reading some Scala code, trying to learn the language and understand the code itself, and I keep coming across some unintelligible punctuation that does stuff. The problem is that it's pretty much impossible to search in any search engine for punctuation

  • it's all filtered out before the query gets processed.

This is compounded by the fact that I haven't found any single document that outlines all the insane shortcuts that Scala seems to have in an easy way.

Can you point me to, or better yet write, such a guide? Just a comment, document, HTML page or blog post with a list of punctuation and the thing it does. In particular, I'm confused about:

 -> ||= ++= <= _._ :: :+= 

What do all of Scala's symbolic operators mean?

Scala syntax has a lot of symbols. Since these kinds of names are difficult to find using search engines, a comprehensive list of them would be helpful.

What are all of the symbols in Scala, and what does each of them do?

In particular, I'd like to know about ->, ||=, ++=, <=, _._, ::, and :+=.

deleted 135 characters in body
Source Link
casperOne
  • 74.7k
  • 19
  • 189
  • 262

I'm reading some Scala code, trying to learn the language and understand the code itself, and I keep coming across some unintelligible punctuation that does stuff. The problem is that it's pretty much impossible to search in any search engine for punctuation

  • it's all filtered out before the query gets processed.

This is compounded by the fact that I haven't found any single document that outlines all the insane shortcuts that Scala seems to have in an easy way.

Can you point me to, or better yet write, such a guide? Just a comment, document, HTML page or blog post with a list of punctuation and the thing it does. In particular, I'm confused about:

 -> ||= ++= <= _._ :: :+= 

(This question was asked on Reddit. I think it would be useful to gather answers on Stack Overflow for future reference.)

I'm reading some Scala code, trying to learn the language and understand the code itself, and I keep coming across some unintelligible punctuation that does stuff. The problem is that it's pretty much impossible to search in any search engine for punctuation

  • it's all filtered out before the query gets processed.

This is compounded by the fact that I haven't found any single document that outlines all the insane shortcuts that Scala seems to have in an easy way.

Can you point me to, or better yet write, such a guide? Just a comment, document, HTML page or blog post with a list of punctuation and the thing it does. In particular, I'm confused about:

 -> ||= ++= <= _._ :: :+= 

(This question was asked on Reddit. I think it would be useful to gather answers on Stack Overflow for future reference.)

I'm reading some Scala code, trying to learn the language and understand the code itself, and I keep coming across some unintelligible punctuation that does stuff. The problem is that it's pretty much impossible to search in any search engine for punctuation

  • it's all filtered out before the query gets processed.

This is compounded by the fact that I haven't found any single document that outlines all the insane shortcuts that Scala seems to have in an easy way.

Can you point me to, or better yet write, such a guide? Just a comment, document, HTML page or blog post with a list of punctuation and the thing it does. In particular, I'm confused about:

 -> ||= ++= <= _._ :: :+= 
Deemphasised the meta information (moved to the end), while keeping the attribution to Reddit. Used the official name of Stack Overflow - see section "Proper Use of the Stack Overflow and Stack Exchange Name" in http://stackoverflow.com/legal/trademark-guidance (the last section).
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

Scala Punctuationpunctuation (akaAKA symbols, and operators)

I'm putting up this question asked onreading some Scala code, trying to learn the language and understand the code itself, and I keep coming across some unintelligible punctuation that does stuff. The problem is that it's pretty much impossible to search in any search engine for punctuation

  • it's all filtered out before the query gets processed.

This is compounded by the fact that I haven't found any single document that outlines all the insane shortcuts that Scala seems to have in an easy way.

Can you point me to, or better yet write, such a guide? Just a comment, document, HTML page or blog post with a list of punctuation and the thing it does. In particular, I'm confused about:

 -> ||= ++= <= _._ :: :+= 

(This Redditquestion was asked on Reddit because. I think it would be useful to gather answers on StackoverflowStack Overflow for future reference:.)

I'm reading some Scala code, trying to learn the language and understand the code itself, and I keep coming across some unintelligible punctuation that does stuff. Problem is that it's pretty much impossible to search in any search engine for punctuation

  • it's all filtered out before the query get's processed. This is compounded by the fact that I haven't found any single document that outlines all the insane shortcuts that Scala seems to have in an easy way.

Can you point me to, or better yet write, such a guide? Just a comment/document/html page/blog post with a list of punctuation and the thing it does. In particular, I'm confused about:

-> ||= ++= <= _._ :: :+= 

Your help would be greatly appreciated!

Scala Punctuation (aka symbols, operators)

I'm putting up this question asked on Reddit because I think it would be useful to gather answers on Stackoverflow for future reference:

I'm reading some Scala code, trying to learn the language and understand the code itself, and I keep coming across some unintelligible punctuation that does stuff. Problem is that it's pretty much impossible to search in any search engine for punctuation

  • it's all filtered out before the query get's processed. This is compounded by the fact that I haven't found any single document that outlines all the insane shortcuts that Scala seems to have in an easy way.

Can you point me to, or better yet write, such a guide? Just a comment/document/html page/blog post with a list of punctuation and the thing it does. In particular, I'm confused about:

-> ||= ++= <= _._ :: :+= 

Your help would be greatly appreciated!

Scala punctuation (AKA symbols and operators)

I'm reading some Scala code, trying to learn the language and understand the code itself, and I keep coming across some unintelligible punctuation that does stuff. The problem is that it's pretty much impossible to search in any search engine for punctuation

  • it's all filtered out before the query gets processed.

This is compounded by the fact that I haven't found any single document that outlines all the insane shortcuts that Scala seems to have in an easy way.

Can you point me to, or better yet write, such a guide? Just a comment, document, HTML page or blog post with a list of punctuation and the thing it does. In particular, I'm confused about:

 -> ||= ++= <= _._ :: :+= 

(This question was asked on Reddit. I think it would be useful to gather answers on Stack Overflow for future reference.)

edited title
Link
Daniel C. Sobral
  • 297.8k
  • 88
  • 508
  • 688
Loading
Formatting the citation
Source Link
PhiLho
  • 41.3k
  • 6
  • 100
  • 136
Loading
Source Link
0__
  • 67.5k
  • 21
  • 180
  • 272
Loading