In contrast to the set-theoretic collections (IS, Set, Map) of the preceeding chapter which are new Slang library types – not part of the Scala standard libraries, the classes and tuples of this chapter are based directly on the corresponding Scala notions – they are just restrictions of Scala classes and tuples.

Slang tuples are based on Scala tuples – the Slang parser just puts a few restrictions on how they can be used.

Note

JH: To Robby, what are the syntactic restrictions on Slang tuples?