Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,2 @@
(define hello-world (lambda () (display "Hello, world!\n"))
(hello-world)

View file

@ -0,0 +1 @@
((lambda () (display "Hello, world!\n")))

View file

@ -0,0 +1,2 @@
(define hello (lambda (name) (display "Hello, " name "!\n")))
(hello "Rosetta Code")

View file

@ -0,0 +1 @@
((lambda (name) (display "Hello, " name "!\n")) "Rosetta Code")

View file

@ -0,0 +1,5 @@
((lambda (op ...)
(if (null? ...)
(! "At least one argument is required")
(apply op ...)))
* 1 2 3 4)

View file

@ -0,0 +1,3 @@
((lambda (first ...)
(define last (if (null? ...) "" (append " " (car ...))))
(display "Hello " first last "\n")) "John" "Kimball")