Code samples used in Functional Conf 2014 talk