Scala Examples: Difference between revisions

Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 32: Line 32:
}
}


</synctaxhighlight>
</syntaxhighlight>
 
See [https://riptutorial.com/scala/example/3056/pattern-matching-on-a-seq#:~:text=In%20general%2C%20any%20form%20that,and%20can%20have%20unexpected%20results. here]