Fork me on GitHub
Scala ?uzzlers
  • Home
  • Archive
  • How to Contribute
  • Contact
  • About
  • Puzzlers
  • 2.13
  • Double Trouble
  • Partial Oddity
  • Identity Crisis
  • Traversing Travesty
  • Repeat After Me
  • 2.12
  • $!.*% Iterators!
  • Extract or Fail?
  • 2.11
  • What Were You Expecting?
  • 2.9
  • Match Me
  • Double Take

A fun way to learn more about Scala


Welcome to the Scala Puzzlers archive, the collection of Traps, Pitfalls and Corner Cases in older versions of the Scala language.

Prepare to be surprised, entertained and...well, puzzled! What is presented here is a selection of seemingly simple examples which demonstrate that there's plenty of head-scratching left in Scala. Let your mind be challenged by unexpected and unintuitive behaviour and results and learn something in the process.

Choose a puzzler from the left-hand list to get started!

Your contributions are welcomed

Scala Puzzlers is a community effort! Have a puzzler you would like to share with the rest of the Scala community? Please follow these instructions to submit your puzzler. And don't worry, you will be properly credited for your contribution!

We would love to hear from you

Any kind of feedback is appreciated, about the website but also about the puzzlers themselves. If there is something you would like to let us know, please contact us.

Copyright © 2013, Andrew Phillips and Nermin Serifovic