add lila source example files
This commit is contained in:
parent
86d4f7fffb
commit
374daaff7f
8 changed files with 49 additions and 0 deletions
7
examples/if_expr.lila
Normal file
7
examples/if_expr.lila
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
fn main() {
|
||||
val = if true {
|
||||
42
|
||||
} else {
|
||||
1337
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue