# comments 0 1 3.14159 # booleans are lambdas or values? # well, if they're lambdas, then they're read by the init file? # if they're user-defined, then what should comparisions return? # maybe they just return what 'true' or 'false' would return in the \ given envronment? # also keep in mind that if they're values, we'll need a builtin \ conditional switch function in addition to them. # it's probably best if they're builtin lambdas, like '+' or '×'. true false # an expression doesn't end until it could validly end: λ x: x # ends before the 2 2 (λ x: x)(2) f <- λ x: x; f 2 # numerical operators exist and can curry ...somehow: + - × ÷ + 1 × 2 + 1 1 × 2 2 × (+ 1 2) 3 fib <- 𝑌 λ f x: (≤ x 1) x (+ (f (- x 1)) (f (- x 2))) fib 8 (𝑌 λ f x: (≤ x 1) x (+ (f (- x 1)) (f (- x 2)))) 10 ((((( ((((( ((((( ((((( 1 ))))) ))))) ))))) )))))