We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf85f44 commit d077140Copy full SHA for d077140
app/json/options.json
@@ -57,7 +57,7 @@
57
},
58
{
59
"preparagraph": "Another operation is `fold`. this operation will extract the value from the option, or provide a default if the value is `None`",
60
- "code": "val number: Option[Int] = Some(3)\nval noNumber: Option[Int] = None\nval result1 = number.fold(0)(_ * 3)val result2 = noNumber.fold(0)(_ * 3)\n\nresult1 should be(__)\nresult2 should be(__)",
+ "code": "val number: Option[Int] = Some(3)\nval noNumber: Option[Int] = None\nval result1 = number.fold(0)(_ * 3)\nval result2 = noNumber.fold(0)(_ * 3)\n\nresult1 should be(__)\nresult2 should be(__)",
61
"solutions": [
62
"9",
63
"0"
0 commit comments