changed name of array param
added f() to create closures around standard functions
added cons()
added contains()
added distinct()