This commit is contained in:
parent
9e90bdfc33
commit
ca0031431d
19 changed files with 287 additions and 0 deletions
8
examples/foo.ang
Normal file
8
examples/foo.ang
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
fn foo(n: int) -> str {
|
||||
if n % 2 == 0 {
|
||||
"foo"
|
||||
} else {
|
||||
"bar"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue