On Nov 8, 10:08 pm, Aquahappy <joshua.ay...@gmail.com> wrote:
> Hi Jim,
>
> Thanks so much! Using 'def' instead of 'defn' when defining a function
> composed of functions was what I was missing.
>
> I can't believe I spent an hour trying to figure this out -- it seems
> very obvious now. Doh!
>
> :)
Notice that the Scheme (define (f args ...) ...) becomes (defn f
[args ...] ...) in Clojure, and (define f ...) becomes (def f ...)

Brian

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to