An attempt at a functional style programming library