fillidefilla / Structure-and-Interpretation-of-Computer-Programs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LiaScript

Structure and Interpretation of Computer Programs

Example BiwaSchema

(define (fizzbuzz x y)
  (print
    (cond (( = (mod x 15) 0 ) "FizzBuzz")
          (( = (mod x 3) 0 ) "Fizz")
          (( = (mod x 5) 0 ) "Buzz")
          (else x)))

    (if (< x y) (fizzbuzz (+ x 1) y)))

(fizzbuzz 1 10)

@BiwaScheme.eval

About