LispCast http://www.lispcast.com/ A blog about the simple joys of functional programming. en Some Annotated clojure.core/reduce Examples http://www.lispcast.com/annotated-clojure-core-reduce http://www.lispcast.com/annotated-clojure-core-reduce Tue 21 Jul 2015 10:40:39 PM CDT reduce is a very useful function. You can use it for many calculations over a collection. Code annotations are useful, as are physical metaphors. <p><center><a href="http://www.lispcast.com/annotated-clojure-core-reduce">Read full post</a></center></p> Annotated map http://www.lispcast.com/annotated-map http://www.lispcast.com/annotated-map Wed 29 Jul 2015 09:33:06 PM CDT map is one of the staples of functional programming. It's totally useful and also surprisingly simple. Let's look at some examples and annotated code. <p><center><a href="http://www.lispcast.com/annotated-map">Read full post</a></center></p> Let's TDD clojure.core/reduce http://www.lispcast.com/lets-tdd-clojure-core-reduce http://www.lispcast.com/lets-tdd-clojure-core-reduce Mon 17 Aug 2015 09:53:32 PM CDT `clojure.core/reduce` is a powerful function, yet the code for it is so simple. It's four lines! We TDD our own implementation. <p><center><a href="http://www.lispcast.com/lets-tdd-clojure-core-reduce">Read full post</a></center></p> Reasoning About Code http://www.lispcast.com/reasoning-about-code http://www.lispcast.com/reasoning-about-code Sat 20 Feb 2016 04:37:09 PM CST Functional programmers often use the term "reason about code". It's not very well defined generally, but I use it myself to refer to our ability to use our real-world intuition in our own code. <p><center><a href="http://www.lispcast.com/reasoning-about-code">Read full post</a></center></p> A reduce Example Explained http://www.lispcast.com/reduce-example-explained http://www.lispcast.com/reduce-example-explained Mon 10 Aug 2015 09:46:29 PM CDT A deep-dive into a single reduce example shows how much can happen in a short bit of code. <p><center><a href="http://www.lispcast.com/reduce-example-explained">Read full post</a></center></p> Let's TDD clojure.core/map http://www.lispcast.com/tdd-clojure-core-map http://www.lispcast.com/tdd-clojure-core-map Tue 04 Aug 2015 11:27:58 PM CDT Learning to write map is a good lesson because it has recursion, list building, and higher order functions. It's everything that makes Lisp great. <p><center><a href="http://www.lispcast.com/tdd-clojure-core-map">Read full post</a></center></p>