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.

Filter by
Sorted by
Tagged with
3 votes
2 answers
450 views

Print this text in Scala

Print the following text and nothing else: ...
user avatar
  • 7,495
10 votes
6 answers
872 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 avatar
  • 7,495
6 votes
7 answers
374 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 avatar
  • 7,495
27 votes
15 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 avatar
  • 4,545