Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update lect-w01-intro.tex to improve clarity #656

Merged
merged 1 commit into from
Sep 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions slides/body/lect-w01-intro.tex
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@
\pause
\noindent Scala-applikation med \code{@main} framför valfri funktion anger var programmet ska starta:
\begin{Code}
@main def run = println("Hello world!")
@main def hi = println("Hello world!")
\end{Code}
\noindent Spara texten ovan i filen \code{hello.scala}.\\
Kompilera:
Expand All @@ -287,7 +287,7 @@
\end{REPLnonum}
\noindent Kör:
\begin{REPLnonum}
scala run
scala hi
\end{REPLnonum}
\end{Slide}

Expand Down