mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +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:
parent
39e30745c8
commit
22332e5dbe
2 changed files with 7 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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)
|
||||
$
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue