Anonymous user
Parse an IP Address: Difference between revisions
→Full blown ultimate solution
(Scala solution added) |
|||
Line 2,528:
=={{header|Scala}}==
===Full blown ultimate solution===
=={{header|Scala}}==
{{Out}}Best
<lang Scala>object IPparser extends App {
Line 2,824 ⟶ 2,826:
} // IPparser cloc.exe : 235 loc</lang>
▲{{Out}} See it running in your browser by [https://scastie.scala-lang.org/Z5CGsnzBRCmZGNffNF8nRg Scastie (JVM)].
=={{header|Tcl}}==
{{tcllib|ip}}
|