library providing functional helpers for generators