mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
* testsuite: Move to... * test-suite/vm: ... here. * Makefile.am (SUBDIRS): Remove `testsuite'. * configure.ac: Output `test-suite/vm/Makefile' instead of `testsuite/Makefile'. * test-suite/Makefile.am (SUBDIRS): Add `vm'.
10 lines
183 B
Scheme
10 lines
183 B
Scheme
; Currently, map is a C function, so this is a way of testing that the
|
|
; VM is reentrant.
|
|
|
|
(begin
|
|
|
|
(define (square x)
|
|
(* x x))
|
|
|
|
(map (lambda (x) (square x))
|
|
'(1 2 3)))
|