1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

2001-06-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>

* box-dynamic-module/README: Use a better example for box-map, as
	suggested by Thomas Wawrzinek.
This commit is contained in:
Martin Grabmüller 2001-06-18 19:09:31 +00:00
parent 39e30745c8
commit 22332e5dbe
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2001-06-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* box-dynamic-module/README: Use a better example for box-map, as
suggested by Thomas Wawrzinek.
2001-06-14 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* scripts/README, scripts/hello.scm, safe/untrusted.scm,

View file

@ -66,8 +66,8 @@ guile> (use-modules (box-mixed))
guile> (define bl (make-box-list 1 2 3))
guile> bl
(#<box 1> #<box 2> #<box 3>)
guile> (box-map (lambda (el) (make-box-list (list el))) bl)
(#<box (#<box (1)>)> #<box (#<box (2)>)> #<box (#<box (3)>)>)
guile> (box-map 1+ bl)
(#<box 2> #<box 3> #<box 4>)
guile> (quit)
$