From 63368ee76aacbfaf063b81ea2378ae43c823c7d5 Mon Sep 17 00:00:00 2001 From: Bastien Wermeille <bastien.wermeille@epfl.ch> Date: Thu, 19 Sep 2019 07:39:43 +0000 Subject: [PATCH] Fix missing code block for some scala code. --- week1/01-example.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/week1/01-example.md b/week1/01-example.md index dad0b1b..22408fd 100644 --- a/week1/01-example.md +++ b/week1/01-example.md @@ -198,11 +198,13 @@ res1: Int = 3 You can enter a multiline expression in the REPL by using `Alt+Enter` (`Option+Enter` on macOS) instead of `Enter`: +```scala scala> if 1 == 1 then | "a" | else | "b" val res0: String = a +``` In order to exit the Scala REPL and go back to sbt, type `Ctrl+D`. -- GitLab