Anonymous user
Associative array/Creation: Difference between revisions
→{{header|Scala}}
Walterpachl (talk | contribs) (→version 2: add a missing apostroph) |
|||
Line 1,873:
=={{header|Scala}}==
[[Category:Scala Implementations]]
<lang scala>// immutable maps▼
{{libheader|Scala}}
[[Category:Scala examples needing attention]]
var map = Map(1 -> 2, 3 -> 4, 5 -> 6)
map(3) // 4
|