Information


Blog Posts


Collections



Contact


Things Ian Says

functional programming

Here are all the items relating to functional programming (page 1 of 1)

Breadth First Graph Traversal in Clojure (Kiwiland Example)

Building a Graph in Clojure, for the Kiwiland Railway

Kiwiland Railway Problem Statement

This is a statement of the problem I am working through in the following articles: Building a Graph in Clojure Breadth First Graph Traversal in Clojure Note that this is taken from github.com/coop/kiwiland. Problem Statement The local commuter railroad services a number of towns in Kiwiland. Because of monetary concerns, all of the tracks are ‘one-way’. That is, a route from Kaitaia to Invercargill does not imply the existence of a route from Invercargill to Kaitaia.

Memoization

Functional Example

Curried Javascript

Functional Javascript

Promises in Javascript