1
2.71828
"Hello World"
"Ready\nSet\nGo"
true
false
(list 1 2 3)
(list 42 "Corge" true)
(list 9 (list 10 11 12) 13)
(count (list 1 2 3))
(let add-one
(lambda (x) (+ x 1)))
(map add-one (list 1 2 3))
(first (list 9 8 7))
(last (list 9 8 7))
(range 10)
(> 10 5)
(< 5 10)
(= 1 1)
(+ 1.1 1.1)
(- 3 2)
(* 4 5)
(/ 10 2)
(% 2 3)
(let a 1)
(let b "Hello World")
(let c true)
(lambda (x) (x))
(λ (x)
(let a 1)
(let b 2)
(+ x (+ a b)))
(let square (lambda (x) (* x x)))
(if (> 1 2) "A" "B")
(if (= a 1) "X" true)
(let name
(input "What is your name?"))
(print "Hi " name "!")
(print
"West of House\n"
"This is an open field west of a white house, with a boarded front "
"door.\n"
"There is a small mailbox here.\n"
"A rubber mat saying 'Welcome to Zork!' lies by the door.")
(print (list 1 2 3))
(print true)
(print (lambda (x) (x)))
Generate a random number between 0 and 1
(let x (random))
(print (string-replace "The quick brown fox" "brown" "red"))
(let person (record :foo 10 :bar 3.14159 :baz true))