And I gave up on the $ prefixes, so just use "def":
(def foo 5)
Now, let's create a function[1]:
> (def foo (fn (list a b) (+ a b)))
> (foo 1 2) 3
> (get foo %arguments) (list a b) > (get foo %body) (#<procedure:do> (+ a b)) > (get foo %environment) ~ > (get foo %scope) ... > (get foo %fn) #t
---
* [1]: That's with Racket's reader. When I get Nulan's reader working, it'll look something like this:
(def foo -> a b (+ a b))
-----