mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-28 14:00:31 +02:00
srfi-1 concatenate concatenate!: move from C to Scheme
* libguile/srfi-1.c (scm_srfi1_concatenate, scm_srfi1_concatenate_x): delete. * libguile/srfi-1.h (scm_srfi1_concatenate, scm_srfi1_concatenate_x): delete. * module/srfi/srfi-1.scm: add concatenate and concatenate!.
This commit is contained in:
parent
a816b2484b
commit
c62d2962d4
4 changed files with 21 additions and 39 deletions
|
@ -463,10 +463,10 @@
|
|||
(pass-if-exception "too many args" exception:wrong-num-args
|
||||
(concatenate-proc '() '()))
|
||||
|
||||
(pass-if-exception "number" exception:wrong-type-arg
|
||||
(pass-if-exception "number" '(wrong-type-arg . "Apply to non-list")
|
||||
(concatenate-proc 123))
|
||||
|
||||
(pass-if-exception "vector" exception:wrong-type-arg
|
||||
(pass-if-exception "vector" '(wrong-type-arg . "Apply to non-list")
|
||||
(concatenate-proc #(1 2 3)))
|
||||
|
||||
(pass-if "no lists"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue