bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: uniform arrays & vectors


From: Masao Uebayashi
Subject: Re: uniform arrays & vectors
Date: Wed, 20 Jun 2001 13:11:11 +0900

Err, sorry, it was me who volunteered the task to improve Guile's
array and uniform array implementaiton. I have done some survey but
did other things in the last 2-3 weeks.

> well, we all know that Guile's uniform vectors & arrays are strange,
> but the following is really buggy, isn't it? (taken from unif.c:315)
> 
> I suppose adding a break after before each `case' claus is sufficient,
> but maybe someone who uses arrays can confirm that?

The biggest problem is that no one seems to use it. ;-)

Seriously, I have looked in some (major) projects using Guile
(gnucache, Lilypond, TeXmacs, Guppi) and found that none of them use
array and uniform array.

  % find gnucash-1.5.95 lilypond-1.4.0 GNOME/guppi3 TeXmacs-0.3.3.15-src -name 
'*.scm' -print | wc -l                     
       187
  % find gnucash-1.5.95 lilypond-1.4.0 GNOME/guppi3 TeXmacs-0.3.3.15-src -name 
'*.scm' -exec grep '(string?' {} \; | wc -l                              
        85
  % find gnucash-1.5.95 lilypond-1.4.0 GNOME/guppi3 TeXmacs-0.3.3.15-src -name 
'*.scm' -exec grep '(array?' {} \; | wc -l 
         0
  % find gnucash-1.5.95 lilypond-1.4.0 GNOME/guppi3 TeXmacs-0.3.3.15-src -name 
'*.scm' -exec grep '(uniform' {} \; | wc -l
         0

As far as I have searched the mail archives, there's no specification
for Guile's (uniform) array. So it's difficult to determine how it
should behave and what is correct.

Regards,
Masao

---                                                       ____________
 |_  -|--|-                                              |_NO_SMOKING_|
_|__ /|\/|\                                                 |      |



reply via email to

[Prev in Thread] Current Thread [Next in Thread]