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

fix #667 'w04 exercise 7c: incorrect solution in answer key' #668

Merged
merged 1 commit into from
Sep 22, 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
9 changes: 4 additions & 5 deletions compendium/modules/w04-objects-exercise.tex
Original file line number Diff line number Diff line change
Expand Up @@ -489,11 +489,10 @@
\begin{REPL}
> scala -cp introprog_3-1.2.0.jar -repl
scala> val w = new introprog.PixelWindow(400,300,"HEJ")
scala> w.moveTo(100, 100)
scala> w.lineTo(200, 100)
scala> w.lineTo(200, 200)
scala> w.lineTo(100, 200)
scala> w.lineTo(100, 100)
scala> w.line(100, 100, 200, 100)
scala> w.line(200, 100, 200, 200)
scala> w.line(200, 200, 100, 200)
scala> w.line(100, 200, 100, 100)
\end{REPL}
Från Scala 3.1.0 så behövs inte optionen \texttt{-repl}.

Expand Down