Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
14
Task/Boolean-values/ArkScript/boolean-values.ark
Normal file
14
Task/Boolean-values/ArkScript/boolean-values.ark
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
(let test (fun (v) {
|
||||
(puts v ": ")
|
||||
(if v (print true) (print false)) }))
|
||||
|
||||
|
||||
(test 1)
|
||||
(test 0)
|
||||
(test true)
|
||||
(test false)
|
||||
(test "hello")
|
||||
(test "")
|
||||
(test [1 2 3])
|
||||
(test [])
|
||||
(test nil)
|
||||
Loading…
Add table
Add a link
Reference in a new issue