background preloader

SICP & Katas & Proj Eula

Facebook Twitter

Euler.uberdoc. An invitation to FP for Clojure noobs | drcabana.org. I’ve heard newcomers to Clojure ask how to get started with functional programming. I believe that learning to program in the functional style is mostly a matter of practice. The newcomer needs to become familiar with a handful of higher order functions, and how they are used in common idioms. This can be done by practice with simple, well defined problems.

I assume that the prospective reader already has a grasp of the rudiments of Clojure, and can operate the Leiningen build tool. Here is what I propose. I have packaged the problems as a Leiningen project. What I recommend is deceptively simple. Here’s the important point: once you understand the solution, delete it and then reconstruct it. Here are a few things to avoid. Do not attempt to learn Clojure and new tooling, say Emacs+slime, at the same time. Don’t worry about parts of Clojure not immediately related to functional programming. The Project Euler problems do require a bit of math. The project repository is is available here. SICP in Clojure. Welcome to the SICP Web Site.

Wizard Book n. Hal Abelson's, Jerry Sussman's and Julie Sussman's Structure and Interpretation of Computer Programs (MIT Press, 1984; ISBN 0-262-01077-1), an excellent computer science text used in introductory courses at MIT. So called because of the wizard on the jacket. One of the bibles of the LISP/Scheme world. Also, less commonly, known as the Purple Book. From The New Hacker's Dictionary, 2nd edition (MIT Press, 1993) This site is a companion to the influential computer-science text Structure and Interpretation of Computer Programs, by Abelson, Sussman, and Sussman. Comments or questions Contact Us. Marshallshen/clojure-katas.