mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 11:56:54 +03:00
Add missing elifs
This commit is contained in:
parent
8694b79500
commit
e94991345a
@ -944,9 +944,9 @@ It is possible to make if-chains using `elif`:
|
||||
```rust
|
||||
if condition1 {
|
||||
0
|
||||
} condition2 {
|
||||
} elif condition2 {
|
||||
1
|
||||
} condition3 {
|
||||
} elif condition3 {
|
||||
2
|
||||
} else {
|
||||
3
|
||||
@ -1208,4 +1208,4 @@ impossible to write in normal Bend syntax.
|
||||
|
||||
It will also ignore all term-level compiler passes and so can be
|
||||
useful for writing programs with exact behaviour that won't ever be
|
||||
changed or optimized by the compiler.
|
||||
changed or optimized by the compiler.
|
||||
|
Loading…
Reference in New Issue
Block a user