-
-
Save itsbth/ccaeb07baa75446f086e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SEXP (display "Hello, World!") | |
Hello, World! | |
SEXP (def greet (lambda (who) (cat "Hello, " who "!"))) | |
SEXP (display (greet "Martiny")) | |
Hello, Martiny! | |
SEXP (display "a") | |
a | |
SEXP (display "b") | |
b | |
SEXP () | |
SEXP (def addn (lambda (n) (lambda (x) (+ x n)))) | |
SEXP (let ((add5 (addn 5))) (display (add5 10))) | |
15 | |
SEXP (if (= 1 1) (display "True") (display "False")) | |
True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment