mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 23:50:19 +02:00
+ is not an asubr
* libguile/numbers.h: * libguile/numbers.c (scm_i_sum): Rework so that scm_sum is just a normal function. Its generic is actually provided by scm_i_sum, a gsubr with rest args. In that way, + is no longer an asubr.
This commit is contained in:
parent
b04ab0c624
commit
8ccd24f7bb
2 changed files with 19 additions and 4 deletions
|
@ -238,6 +238,7 @@ SCM_API SCM scm_negative_p (SCM x);
|
|||
SCM_API SCM scm_max (SCM x, SCM y);
|
||||
SCM_API SCM scm_min (SCM x, SCM y);
|
||||
SCM_API SCM scm_sum (SCM x, SCM y);
|
||||
SCM_INTERNAL SCM scm_i_sum (SCM x, SCM y, SCM rest);
|
||||
SCM_API SCM scm_oneplus (SCM x);
|
||||
SCM_API SCM scm_difference (SCM x, SCM y);
|
||||
SCM_API SCM scm_oneminus (SCM x);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue