516 |
Note: this does _not_ accept vectors. */ |
Note: this does _not_ accept vectors. */ |
517 |
SCM_DEFINE (scm_merge, "merge", 3, 0, 0, |
SCM_DEFINE (scm_merge, "merge", 3, 0, 0, |
518 |
(SCM alist, SCM blist, SCM less), |
(SCM alist, SCM blist, SCM less), |
519 |
"Take two lists @var{alist} and @var{blist} such that\n" |
"Merge two already sorted lists into one.\n" |
520 |
"@code{(sorted? alist less?)} and @code{(sorted? blist less?)} and\n" |
"Given two lists @var{alist} and @var{blist}, such that\n" |
521 |
"returns a new list in which the elements of @var{alist} and\n" |
"@code{(sorted? alist less?)} and @code{(sorted? blist less?)},\n" |
522 |
|
"return a new list in which the elements of @var{alist} and\n" |
523 |
"@var{blist} have been stably interleaved so that\n" |
"@var{blist} have been stably interleaved so that\n" |
524 |
"@code{(sorted? (merge alist blist less?) less?)}.\n" |
"@code{(sorted? (merge alist blist less?) less?)}.\n" |
525 |
"Note: this does _not_ accept vectors.") |
"Note: this does _not_ accept vectors.") |