3 ms·
I think I am agreeing with Wikipedia's definition. What function is evaluated that makes "foo" execute before "bar" in "(foo) (bar)"? Wikipedia goes on to con
by jrockway 17y ago
I think I am agreeing with Wikipedia's definition. What function is evaluated that makes "foo" execute before "bar" in "(foo) (bar)"?
Wikipedia goes on to consider Erlang and Scheme functional programming languages
Yeah, people have diluted the term to near meaninglessness.
- weavejester 17y agoGenerally, in Clojure you'd write (do (foo) (bar)). The do form tells Clojure to evaluate its arguments in order. Some forms have an implicit do, e.g. (when x y z) is (if x (do x y)), but in general the order in which forms are evaluated depends on the form containing them.