case->where-if in blocks.md

This commit is contained in:
Micah Kendall 2022-11-26 23:47:30 +11:00 committed by Lucas
parent 6eca7fc6ab
commit 9b3c8e432e
1 changed files with 1 additions and 2 deletions

View File

@ -14,8 +14,7 @@ A block can be thought of as calling an anonymous function with no arguments. Th
Since everything is secretly a function, the last statement in any block is implicitly its return.
Where If with blocks
Blocks within a where-if clause
```gleam
let name: Option(String) = someFunction()
let suffix = ""