@pimms.param<EOL><INDENT>def distances(ds):<DEDENT>
if ds is None: return None<EOL>ds = pimms.imm_array(ds)<EOL>assert(pimms.is_vector(ds, '<STR_LIT>'))<EOL>assert((ds >= <NUM_LIT:0>).all())<EOL>return ds<EOL>
curve.distances is the specified curve-distances between points in the given curve.