Testing, small typo fix
This commit is contained in:
parent
959927f7ce
commit
ee4438bf1e
|
@ -405,9 +405,22 @@
|
||||||
|
|
||||||
(def source "
|
(def source "
|
||||||
|
|
||||||
let foo = :bar
|
let mytest = {
|
||||||
|
fn even {
|
||||||
|
(0) -> true
|
||||||
|
(n) -> odd (dec (n))
|
||||||
|
}
|
||||||
|
|
||||||
fn foof () -> panic! (:oops)
|
fn odd {
|
||||||
|
(0) -> false
|
||||||
|
(n) -> even (dec (n))
|
||||||
|
}
|
||||||
|
|
||||||
|
@{odd, even}
|
||||||
|
}
|
||||||
|
|
||||||
|
mytest :odd (1)
|
||||||
|
mytest :even (955)
|
||||||
|
|
||||||
")
|
")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user