case->where-if in blocks.md
This commit is contained in:
parent
6eca7fc6ab
commit
9b3c8e432e
|
@ -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.
|
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
|
```gleam
|
||||||
let name: Option(String) = someFunction()
|
let name: Option(String) = someFunction()
|
||||||
let suffix = ""
|
let suffix = ""
|
||||||
|
|
Loading…
Reference in New Issue