Scala anatomy: Revision history

From wikinotes

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

12 May 2024

  • curprev 22:1822:18, 12 May 2024Will talk contribs 712 bytes +712 Created page with "Scala cli allows you to skip some legwork. = Examples = <blockquote> == Helloworld == <blockquote> === scala === <blockquote> <syntaxhighlight lang="scala"> object Hello { def main(args: Array[String]) = { println("Hello, world") } } </syntaxhighlight> <syntaxhighlight lang="bash"> scala helloworld # build and run </syntaxhighlight> </blockquote><!-- scala --> === scala-cli === <blockquote> <syntaxhighlight lang="scala"> #!/usr/bin/env -S scala-cli sh..."