foldl/reduce

reducing my confidence. boo.