diff options
author | Martin Grabmüller <mgrabmue@cs.tu-berlin.de> | 2001-06-18 19:09:31 +0000 |
---|---|---|
committer | Martin Grabmüller <mgrabmue@cs.tu-berlin.de> | 2001-06-18 19:09:31 +0000 |
commit | 22332e5dbea7ab23821f669f93da2609c61e778e (patch) | |
tree | a37a5d416c70f14a02ed080a7a7573376f8ce808 /examples | |
parent | 39e30745c8e856b44767755d866ad90b42cf5980 (diff) |
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.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ChangeLog | 5 | ||||
-rw-r--r-- | examples/box-dynamic-module/README | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/examples/ChangeLog b/examples/ChangeLog index 5af8d9b05..678830aa8 100644 --- a/examples/ChangeLog +++ b/examples/ChangeLog @@ -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, diff --git a/examples/box-dynamic-module/README b/examples/box-dynamic-module/README index 5097ec7d9..9f285c6ca 100644 --- a/examples/box-dynamic-module/README +++ b/examples/box-dynamic-module/README @@ -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) $ |