mirror of
https://github.com/janet-lang/janet
synced 2024-12-01 04:19:55 +00:00
9 lines
201 B
Plaintext
9 lines
201 B
Plaintext
# Simple test file
|
|
(def borker (fn [name] (print "Hello, " name ", you sexy beast!")))
|
|
|
|
(def make-borker (fn [name] (fn [] (borker name))))
|
|
|
|
(def calvin-borker (make-borker "Calvin"))
|
|
|
|
(calvin-borker)
|