public function reduce($array)
    {
        $tokens = array();

        foreach($array as $a){
            $tokens[] = $this->quote($this->escape($a));
        }

        return $tokens ? '('.implode(',', $tokens).')' : '(null)';
    }