Lightweight functional programming library