Although it's not specifically an "algorithms" book, the book "How to Design Programs" covers a number of important classes of algorithms (sorting, graph searches, etc.), and more importantly, teaches you how to reason about them and how to come up with them yourself.
Another great resource is programmingpraxis.com. If you work through a significant number of those exercises, you'll gain significant algorithm expertise. All the exercises are accompanied by a Scheme solution, which should be easy to port to Clojure. Also worth mentioning is a very hard book (harder than Okasaki) called Pearls of Functional Programming (code is in Haskell). You can learn a lot by taking any typical algorithms book and try converting the algorithms to Clojure. Ask here if you run into problems. On Mon, Sep 8, 2014 at 2:09 PM, Evan Zamir <zamir.e...@gmail.com> wrote: > Thanks, Chris. > > I actually have Okasaki's book and thought to mention it in the post as an > example of a book that is too advanced for me. Not to mention, it's in ML. > I'm sure it's a great book, and I could try to slog through it, but it > would be great to have a more introductory level book on algorithms from a > functional perspective. > > > On Monday, September 8, 2014 1:38:28 PM UTC-7, Chris Sims wrote: >> >> On Mon, Sep 8, 2014, at 10:04 AM, Evan Zamir wrote: >> >> (First, I should say that I am not an undergrad, haven't been for almost >> two decades! But in terms of my CS knowledge, that's pretty much where I >> am.) >> >> I recently started reading Sedgewick's Algorithms book ("the red one") >> and am at least making an attempt to follow along with his Coursera course. >> As someone who has also been trying to learn Clojure, it struck me that it >> would be great to have a resource/book on functional versions of all the >> same algorithms. I know there are Clojure implementations of many, if not >> all, of the algorithms in the book (for example I found an implementation >> of union-find <https://github.com/jordanlewis/data.union-find> on >> github), but it would be nice to have a self-contained functional version >> of an "Algorithms" book. >> >> I guess my question boils down to this. Is there a functional algorithms >> book aimed at the beginning/intermediate CS undergraduate curriculum? If >> not, seems to me that would be a big hole that needs to be filled. >> -evan >> >> >> It's not quite what you're looking for, but Osaki's Purely Functional >> Data Structures might be of interest to you. It obviously covers data >> structures, but also operations on the data structures. >> >> --Chris >> >> > -- > 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 > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.