In March I contributed an exercise to the Spare-Time Teaching Note Collection 2015 Winter. Look for »A Functional Fever Fantasy«. It's about investigating the actions of a sloppy cleaning robot, using Clojure, folds and chained probabilities. (Bayesian networks, if you like it fancy.)