| 1 |
@node Sequences |
| 2 |
@section Sequences |
| 3 |
|
| 4 |
@subsection C Reference |
| 5 |
|
| 6 |
@subsubsection ANSI dictionary |
| 7 |
Common Lisp and C equivalence |
| 8 |
|
| 9 |
@multitable @columnfractions .22 .78 |
| 10 |
@headitem Lisp symbol @tab C function |
| 11 |
@item @clhs{f_concat.htm,concatenate} @tab cl_object cl_concatenate(cl_narg narg, cl_object result_type, ...) |
| 12 |
@item @clhs{f_cp_seq.htm,copy-seq} @tab cl_object cl_copy_seq(cl_object sequence) |
| 13 |
@item @clhs{f_countc.htm,count} @tab cl_object cl_count(cl_narg narg, cl_object item, cl_object sequence, ...) |
| 14 |
@item @clhs{f_countc.htm,count-if} @tab cl_object cl_count_if(cl_narg narg, cl_object predicate, cl_object sequence, ...) |
| 15 |
@item @clhs{f_countc.htm,count-if-not} @tab cl_object cl_count_if_not(cl_narg narg, cl_object predicate, cl_object sequence, ...) |
| 16 |
@item @clhs{f_rm_rm.htm,delete} @tab cl_object cl_delete(cl_narg narg, cl_object item, cl_object sequence, ...) |
| 17 |
@item @clhs{f_rm_rm.htm,delete-if} @tab cl_object cl_delete_if(cl_narg narg, cl_object test, cl_object sequence, ...) |
| 18 |
@item @clhs{f_rm_rm.htm,delete-if-not} @tab cl_object cl_delete_if_not(cl_narg narg, cl_object test, cl_object sequence, ...) |
| 19 |
@item @clhs{f_rm_dup.htm,delete-duplicates} @tab cl_object cl_delete_duplicates(cl_narg narg, cl_object sequence, ...) |
| 20 |
@item @clhs{f_elt.htm,elt} @tab cl_object cl_elt(cl_object sequence, cl_object index) |
| 21 |
@item @clhs{f_elt.htm,(setf elt)} @tab cl_object si_elt_set(cl_object sequence, cl_object index, cl_object value) |
| 22 |
@item @clhs{f_fill.htm,fill} @tab cl_object cl_fill(cl_narg narg, cl_object sequence, cl_object item, ...) |
| 23 |
@item @clhs{f_find_.htm,find} @tab cl_object cl_find(cl_narg narg, cl_object item, cl_object sequence, ...) |
| 24 |
@item @clhs{f_find_.htm,find-if} @tab cl_object cl_find_if(cl_narg narg, cl_object predicate, cl_object sequence, ...) |
| 25 |
@item @clhs{f_find_.htm,find-if-not} @tab cl_object cl_find_if_not(cl_narg narg, cl_object predicate, cl_object sequence, ...) |
| 26 |
@item @clhs{f_length.htm,length} @tab cl_object cl_length(cl_object x) |
| 27 |
@item @clhs{f_mk_seq.htm,make-sequence} @tab cl_object cl_make_sequence(cl_narg narg, cl_object result_type, cl_object size, ...) |
| 28 |
@item @clhs{f_map.htm,map} @tab cl_object cl_map(cl_narg narg, cl_object result_type, cl_object function, , ...) |
| 29 |
@item @clhs{f_map_in.htm,map-into} @tab cl_object cl_map_into(cl_narg narg, cl_object result_sequence, cl_object function, ...) |
| 30 |
@item @clhs{f_merge.htm,merge} @tab cl_object cl_merge(cl_narg narg, cl_object result_type, cl_object sequence1, cl_object sequence2, cl_object predicate, ...) |
| 31 |
@item @clhs{f_mismat.htm,mismatch} @tab cl_object cl_mismatch(cl_narg narg, cl_object sequence1, cl_object sequence2, ...) |
| 32 |
@item @clhs{f_revers.htm,nreverse} @tab cl_object cl_nreverse(cl_object sequence) |
| 33 |
@item @clhs{f_sbs_s.htm,nsubstitute} @tab cl_object cl_nsubstitute(cl_narg narg, cl_object newitem, cl_object olditem, cl_object sequence, ...) |
| 34 |
@item @clhs{f_sbs_s.htm,nsubstitute-if} @tab cl_object cl_nsubstitute_if(cl_narg narg, cl_object newitem, cl_object predicate, cl_object sequence, ...) |
| 35 |
@item @clhs{f_sbs_s.htm,nsubstitute-if-not} @tab cl_object cl_nsubstitute_if_not(cl_narg narg, cl_object newitem, cl_object predicate, cl_object sequence, ...) |
| 36 |
@item @clhs{f_pos_p.htm,position} @tab cl_object cl_position(cl_narg narg, cl_object item, cl_object sequence, ...) |
| 37 |
@item @clhs{f_pos_p.htm,position-if} @tab cl_object cl_position_if(cl_narg narg, cl_object predicate, cl_object sequence, ...) |
| 38 |
@item @clhs{f_pos_p.htm,position-if-not} @tab cl_object cl_position_if_not(cl_narg narg, cl_object predicate, cl_object sequence, ...) |
| 39 |
@item @clhs{f_reduce.htm,reduce} @tab cl_object cl_reduce(cl_narg narg, cl_object function, cl_object sequence, ...) |
| 40 |
@item @clhs{f_rm_rm.htm,remove} @tab cl_object cl_remove(cl_narg narg, cl_object item, cl_object sequence, ...) |
| 41 |
@item @clhs{f_rm_rm.htm,remove-if} @tab cl_object cl_remove_if(cl_narg narg, cl_object test, cl_object sequence, ...) |
| 42 |
@item @clhs{f_rm_rm.htm,remove-if-not} @tab cl_object cl_remove_if_not(cl_narg narg, cl_object test, cl_object sequence, ...) |
| 43 |
@item @clhs{f_rm_dup.htm,remove-duplicates} @tab cl_object cl_remove_duplicates(cl_narg narg, cl_object sequence, ...) |
| 44 |
@item @clhs{f_replac.htm,replace} @tab cl_object cl_replace(cl_narg narg, cl_object sequence1, cl_object sequence2, ...) |
| 45 |
@item @clhs{f_revers.htm,reverse} @tab cl_object cl_reverse(cl_object sequence) |
| 46 |
@item @clhs{f_search.htm,search} @tab cl_object cl_search(cl_narg narg, cl_object sequence1, cl_object sequence2, ...) |
| 47 |
@item @clhs{f_sort_.htm,sort} @tab cl_object cl_sort(cl_narg narg, cl_object sequence, cl_object predicate, ...) |
| 48 |
@item @clhs{f_sort_.htm,stable-sort} @tab cl_object cl_stable_sort(cl_narg narg, cl_object sequence, cl_object predicate, ...) |
| 49 |
@item @clhs{f_subseq.htm,subseq} @tab cl_object cl_subseq(cl_narg narg, cl_object sequence, cl_object start, ...) |
| 50 |
@item @clhs{f_sbs_s.htm,substitute} @tab cl_object cl_substitute(cl_narg narg, cl_object newitem, cl_object olditem, cl_object sequence, ...) |
| 51 |
@item @clhs{f_sbs_s.htm,substitute-if} @tab cl_object cl_substitute_if(cl_narg narg, cl_object newitem, cl_object predicate, cl_object sequence, ...) |
| 52 |
@item @clhs{f_sbs_s.htm,substitute-if-not} @tab cl_object cl_substitute_if_not(cl_narg narg, cl_object newitem, cl_object predicate, cl_object sequence, ...) |
| 53 |
@end multitable |