Determine if a string is collapsible: Difference between revisions

→‎{{header|Scala}}: flagged as incorrect (didn't use the five examples as directed).
No edit summary
(→‎{{header|Scala}}: flagged as incorrect (didn't use the five examples as directed).)
Line 459:
 
=={{header|Scala}}==
 
{{incorrect|Scale| <br><br> The five examples stated in the task's preamble weren't used. <br><br> Please use those examples as directed. <br><br>}}
 
<lang Scala>
/**Collapse a string (if possible)*/