Implement some functional operators in functional.qzt