Skip to main content

Questions tagged [scala]

This challenge is related to the Scala language. Note that challenges that require the answers to be in a specific language are generally discouraged.

3 votes
2 answers
477 views

Print this text in Scala

Print the following text and nothing else: ...
user's user avatar
  • 357
10 votes
6 answers
976 views

Parse a Scala expression

Scala isn't a very commonly used language around here. Most of those who know it like it[citation needed], but some go :\ when they encounter its user-defined ...
user's user avatar
  • 357
7 votes
7 answers
443 views

Tips for golfing in Scala 3

What general tips do you have for golfing in Scala 3? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to Scala 3 (e.g. "remove ...
user's user avatar
  • 357
28 votes
16 answers
3k views

Tips for golfing in Scala

What general tips do you have for golfing in Scala? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to Scala (e.g. "remove comments" is ...
user unknown's user avatar
  • 4,591