On Thu, Jun 24, 2010 at 3:12 PM, Tim Robinson <tim.blacks...@gmail.com>wrote:

>
> > (def stuff {:key1 {:item1 {:sub1 val1}})
> > (((stuff :key1) :item1) sub1)  <------- YUCK
> val1
>

(get-in m [:key1 :item1 :sub1]) <------- YUM ;)


> > (rest stuff)
> (2 3 4 5)
> > (next stuff)
> (2 3 4 5) <---- this can be done with rest.
>

There are subtle but important differences between next and rest. You should
refer to their documentation.

Oh yeah, and web development with Clojure rocks:

[enlive "1.0.0-SNAPSHOT"]
[net.cgrand/moustache "1.0.0-SNAPSHOT"]
[ring "0.2.3"]
[clj-time "0.1.0-SNAPSHOT"]
[com.twinql.clojure/clj-apache-http "2.1.0"]

At the moment I use nginx proxying to embedded Jetty. Works fine for me,
though I'm interested in hearing or reading documentation about what other
people are doing.

-- 
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