yesod::sparse_vector: further development (22)

Auxiliary functions.

Signed-off-by: Alex Dubov <oakad@yahoo.com>