Skip to content
Snippets Groups Projects
Commit 3155be6f authored by Olivier Blanvillain's avatar Olivier Blanvillain
Browse files

Merge branch 'patch-1' into 'master'

Fix missing code block for some scala code.

See merge request lamp/cs-210-functional-programming-2019!5
parents fab86683 63368ee7
No related branches found
No related tags found
No related merge requests found
...@@ -198,11 +198,13 @@ res1: Int = 3 ...@@ -198,11 +198,13 @@ res1: Int = 3
You can enter a multiline expression in the REPL by using `Alt+Enter` You can enter a multiline expression in the REPL by using `Alt+Enter`
(`Option+Enter` on macOS) instead of `Enter`: (`Option+Enter` on macOS) instead of `Enter`:
```scala
scala> if 1 == 1 then scala> if 1 == 1 then
| "a" | "a"
| else | else
| "b" | "b"
val res0: String = a val res0: String = a
```
In order to exit the Scala REPL and go back to sbt, type `Ctrl+D`. In order to exit the Scala REPL and go back to sbt, type `Ctrl+D`.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment