You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
494 B
25 lines
494 B
INCLUDE:./lib/aids.klambda
|
|
|
|
(def a (id (id "desu")))
|
|
(spit
|
|
("lol swej" (+ 9000 1) a))
|
|
(spit (cond (= "10" (+ 1 9)) "same" "not same"))
|
|
(cond ("", (+ 0 1))
|
|
(id spit "one")
|
|
(id spit "zero"))
|
|
|
|
(spit "how old are you? > ")
|
|
(def age (conv number (input)))
|
|
(spit
|
|
(cond (> age 18)
|
|
"adult (hag)"
|
|
"not adult (uoh)"))
|
|
|
|
(loop 0 100
|
|
(id spit (cond (% i 15) (cond (% i 5) (cond (% i 3) i "fizz") "buzz") "fizzbuzz")))
|
|
|
|
(def moeblob ("moe" "moe~" "kyun!!"))
|
|
(each moeblob
|
|
(id spit item))
|
|
|
|
(thesis) |