Fix val_size BIF tests and improve docs

Improve documentation of "order" BIF, and made the "val_size" tests
more portable.
This commit is contained in:
Daniel Thayer 2012-06-08 15:25:49 -05:00
parent 83dcbd4aa7
commit 18e61fcdfc
4 changed files with 13 additions and 10 deletions

View file

@ -1494,6 +1494,8 @@ function sort%(v: any, ...%) : any
## v: The vector whose order to compute.
##
## Returns: A ``vector of count`` with the indices of the ordered elements.
## For example, the elements of *v* in order are (assuming ``o``
## is the vector returned by ``order``): v[o[0]], v[o[1]], etc.
##
## .. bro:see:: sort
function order%(v: any, ...%) : index_vec