import module namespace math="http://www.zorba-xquery.com/modules/math"; math:mode((1, 3, 4, 2, 5)) (: Output: Error [ZXQP0021] Mode function: no duplicate elements :)