Questions for functional-programming