Which exercises are those? Are they online somewhere?
On Sep 7, 11:38 pm, octopusgrabbus <octopusgrab...@gmail.com> wrote: > When I started learning Clojure, I did not want to be a casual user that > shyed away from Clojure's native syntax, preferring to do as much as > possible in Java. To that end, I discovered some graduate computer science > Clojure exercises and started working them. > > I know about 4Clojure, but these exercises made my head hurt, but as the > Gary Larson cartoon told it, it was a "good kind of hurt". By forgoing the > use of flatten and trying to roll my own, I gained some insights of how > sequences are constructed and what they actually are. > > However, coming across the exercise to return the skeleton of a tree, I > immediately thought of meta data, but I'm not sure this exercise was > designed to encourage the students to use the clojure.zip routines. > > So, my question is, using elementary primitives, is it reasonable to return > a list without its leaves, or do you really need the clojure.zip functions? > > Thanks. -- 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