1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 14:21:10 +02:00

* boot-9.scm: Added extended read syntax for byte vectors #y(...)

and short vectors #h(...).
This commit is contained in:
Mikael Djurfeldt 1998-10-18 12:41:43 +00:00
parent 1aab20acfb
commit c8f11b9756
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
1998-10-18 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
* boot-9.scm: Added extended read syntax for byte vectors #y(...)
and short vectors #h(...).
1998-10-14 Jim Blandy <jimb@zwingli.cygnus.com>
* calling.scm (excursion-function-syntax): Use a sequence of

View file

@ -1050,8 +1050,8 @@
(for-each (lambda (char template)
(read-hash-extend char
(make-array-proc template)))
'(#\b #\a #\u #\e #\s #\i #\c)
'(#t #\a 1 -1 1.0 1/3 0+i)))
'(#\b #\a #\u #\e #\s #\i #\c #\y #\h)
'(#t #\a 1 -1 1.0 1/3 0+i #\nul s)))
(let ((array-proc (lambda (c port)
(read:array c port))))
(for-each (lambda (char) (read-hash-extend char array-proc))