In the circuit I used to do something like this
(define (f x) (g x))
(define (g x) (+ x 42))
(g 0)
That is, I was used to define functions in terms of other instantly unlimited functions. Why is this not possible in Clojure? For example, in Clojure REPL, the following is not valid
(defn f [x] (g x))
(defn g [x] (+ x 42))
(g 0)
source
share