unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* And another deprecation joke
@ 2011-12-07 12:58 David Kastrup
  2011-12-07 13:55 ` Noah Lavine
  2011-12-07 15:01 ` Andy Wingo
  0 siblings, 2 replies; 14+ messages in thread
From: David Kastrup @ 2011-12-07 12:58 UTC (permalink / raw)
  To: guile-devel


`dimensions->uniform-array' is deprecated.  Use `make-typed-array' instead.

Unfortunately, this was not even called in the application.

The actual function called was make-uniform-vector.

If we look at the documentation of make-typed-array, we find

<URL:http://www.gnu.org/software/guile/manual/html_node/Array-Procedures.html>

— Scheme Procedure: make-typed-array type fill bound ...
— C Function: scm_make_typed_array (type, fill, bounds)

    Create and return an array that has as many dimensions as there are
    bounds and (maybe) fill it with fill.

    The underlying storage vector is created according to type, which
    must be a symbol whose name is the `vectag' of the array as
    explained above, or #t for ordinary, non-specialized arrays.

This, however, is a lie, since there is no place above where "vectag"
would be explained.  There is an explanation about how it will be
printed as part of an array, but not how it is specified.

Would it please be possible

a) to not just deprecate some function when there are _callers_ in the
   guile code base that are _not_ explicitly deprecated
b) make sure that the recommended replacements are actually
   _documented_?

This is not the first such "deprecation" I have encountered, and it
shows a blatant disrespect of the user base.

-- 
David Kastrup




^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-12-09 18:23 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-07 12:58 And another deprecation joke David Kastrup
2011-12-07 13:55 ` Noah Lavine
2011-12-07 17:24   ` David Kastrup
2011-12-07 15:01 ` Andy Wingo
2011-12-07 15:30   ` David Kastrup
2011-12-08  2:29     ` rixed
2011-12-08  8:29       ` David Kastrup
2011-12-08 20:18         ` Andy Wingo
2011-12-08 20:32           ` David Kastrup
2011-12-08 20:55             ` Andy Wingo
2011-12-09  1:58               ` David Kastrup
2011-12-09  2:38                 ` dsmich
2011-12-09  9:23                   ` David Kastrup
2011-12-09 18:23                     ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).