add position() to unary_enumerator