Text processing/1: Difference between revisions
Content added Content deleted
(Added Scala) |
m (→{{works with|Scala|2.8}}: correct statement) |
||
Line 1,192: | Line 1,192: | ||
=={{header|Scala}}== |
=={{header|Scala}}== |
||
=={{works with|Scala|2.8}}== |
=={{works with|Scala|2.8}}== |
||
A fully functional solution: |
A fully functional solution, minus the fact that it uses iterators: |
||
<lang scala>object DataMunging { |
<lang scala>object DataMunging { |
||
import scala.io.Source |
import scala.io.Source |