Common Lisp and C equivalence
Lisp symbol | C function |
---|---|
concatenate | cl_object cl_concatenate(cl_narg narg, cl_object result_type, ...) |
copy-seq | cl_object cl_copy_seq(cl_object sequence) |
count | cl_object cl_count(cl_narg narg, cl_object item, cl_object sequence, ...) |
count-if | cl_object cl_count_if(cl_narg narg, cl_object predicate, cl_object sequence, ...) |
count-if-not | cl_object cl_count_if_not(cl_narg narg, cl_object predicate, cl_object sequence, ...) |
delete | cl_object cl_delete(cl_narg narg, cl_object item, cl_object sequence, ...) |
delete-if | cl_object cl_delete_if(cl_narg narg, cl_object test, cl_object sequence, ...) |
delete-if-not | cl_object cl_delete_if_not(cl_narg narg, cl_object test, cl_object sequence, ...) |
delete-duplicates | cl_object cl_delete_duplicates(cl_narg narg, cl_object sequence, ...) |
elt | cl_object cl_elt(cl_object sequence, cl_object index) |
(setf elt) | cl_object si_elt_set(cl_object sequence, cl_object index, cl_object value) |
fill | cl_object cl_fill(cl_narg narg, cl_object sequence, cl_object item, ...) |
find | cl_object cl_find(cl_narg narg, cl_object item, cl_object sequence, ...) |
find-if | cl_object cl_find_if(cl_narg narg, cl_object predicate, cl_object sequence, ...) |
find-if-not | cl_object cl_find_if_not(cl_narg narg, cl_object predicate, cl_object sequence, ...) |
length | cl_object cl_length(cl_object x) |
make-sequence | cl_object cl_make_sequence(cl_narg narg, cl_object result_type, cl_object size, ...) |
map | cl_object cl_map(cl_narg narg, cl_object result_type, cl_object function, , ...) |
map-into | cl_object cl_map_into(cl_narg narg, cl_object result_sequence, cl_object function, ...) |
merge | cl_object cl_merge(cl_narg narg, cl_object result_type, cl_object sequence1, cl_object sequence2, cl_object predicate, ...) |
mismatch | cl_object cl_mismatch(cl_narg narg, cl_object sequence1, cl_object sequence2, ...) |
nreverse | cl_object cl_nreverse(cl_object sequence) |
nsubstitute | cl_object cl_nsubstitute(cl_narg narg, cl_object newitem, cl_object olditem, cl_object sequence, ...) |
nsubstitute-if | cl_object cl_nsubstitute_if(cl_narg narg, cl_object newitem, cl_object predicate, cl_object sequence, ...) |
nsubstitute-if-not | cl_object cl_nsubstitute_if_not(cl_narg narg, cl_object newitem, cl_object predicate, cl_object sequence, ...) |
position | cl_object cl_position(cl_narg narg, cl_object item, cl_object sequence, ...) |
position-if | cl_object cl_position_if(cl_narg narg, cl_object predicate, cl_object sequence, ...) |
position-if-not | cl_object cl_position_if_not(cl_narg narg, cl_object predicate, cl_object sequence, ...) |
reduce | cl_object cl_reduce(cl_narg narg, cl_object function, cl_object sequence, ...) |
remove | cl_object cl_remove(cl_narg narg, cl_object item, cl_object sequence, ...) |
remove-if | cl_object cl_remove_if(cl_narg narg, cl_object test, cl_object sequence, ...) |
remove-if-not | cl_object cl_remove_if_not(cl_narg narg, cl_object test, cl_object sequence, ...) |
remove-duplicates | cl_object cl_remove_duplicates(cl_narg narg, cl_object sequence, ...) |
replace | cl_object cl_replace(cl_narg narg, cl_object sequence1, cl_object sequence2, ...) |
reverse | cl_object cl_reverse(cl_object sequence) |
search | cl_object cl_search(cl_narg narg, cl_object sequence1, cl_object sequence2, ...) |
sort | cl_object cl_sort(cl_narg narg, cl_object sequence, cl_object predicate, ...) |
stable-sort | cl_object cl_stable_sort(cl_narg narg, cl_object sequence, cl_object predicate, ...) |
subseq | cl_object cl_subseq(cl_narg narg, cl_object sequence, cl_object start, ...) |
substitute | cl_object cl_substitute(cl_narg narg, cl_object newitem, cl_object olditem, cl_object sequence, ...) |
substitute-if | cl_object cl_substitute_if(cl_narg narg, cl_object newitem, cl_object predicate, cl_object sequence, ...) |
substitute-if-not | cl_object cl_substitute_if_not(cl_narg narg, cl_object newitem, cl_object predicate, cl_object sequence, ...) |