Mindshift: Part 16

Preparing For Negative Numbers So far in this blog series, our ability to count has been restricted to handling only positive integers. It goes without saying »

Finding a wonderland number

I came across a simple puzzle this evening, on Wonderland Clojure Katas. My brain is half dead from starting work extra early and slogging through the »

Enlightenment in action

One of the ideas that Clojure embraces is this Perlism: It is better to have 100 functions operate on one data structure than 10 functions on »

4Clojure Puzzle 66

In my quest to teach myself more Clojure, I'm solving puzzles. Puzzles from websites such as Project Euler and Advent of Code. More recently I've been »

Mindshift: Part 15

Implementing the REDUCE function Now that we have an implementation of the MAP function, its just a small modification to create a REDUCE function. In other »

Mindshift: Part 14

Functional Cartography:The MAP Function Ok, so what point have we now reached? We're at the point now where we can construct a singly linked list »

Mindshift: Part 13

Using Functions to Create a Simple List We have now covered two keys areas in functional programming: The ability to use a PAIR function to form »

Mindshift: Part 12

Divide And Conquer Now that we have the ability to perform recursive functions, we can define a division function. The process of dividing value1 by value2 »