unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Generalized vs generic
@ 2005-02-10  9:58 Mikael Djurfeldt
  2005-02-11 21:34 ` Kevin Ryde
  0 siblings, 1 reply; 5+ messages in thread
From: Mikael Djurfeldt @ 2005-02-10  9:58 UTC (permalink / raw)
  Cc: Mikael Djurfeldt

I've started to adapt my applications to the new vector and array interfaces.

To me, the name "generalized_vector" feels a bit odd and heavy. 
Looking in the dictionaries, it seems like the term "generic_vector"
would be more fitting. What do the native English speakers say?

Should we use the names:

scm_is_generic_vector
scm_c_generic_vector_length
etc

instead of the current:

scm_is_generalized_vector
scm_c_generalized_vector_length
etc

?

M


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


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

* Re: Generalized vs generic
  2005-02-10  9:58 Generalized vs generic Mikael Djurfeldt
@ 2005-02-11 21:34 ` Kevin Ryde
  2005-02-12 10:55   ` Mikael Djurfeldt
  0 siblings, 1 reply; 5+ messages in thread
From: Kevin Ryde @ 2005-02-11 21:34 UTC (permalink / raw)
  Cc: guile-devel, Marius Vollmer

Mikael Djurfeldt <mdjurfeldt@gmail.com> writes:
>
> To me, the name "generalized_vector" feels a bit odd and heavy. 
> Looking in the dictionaries, it seems like the term "generic_vector"
> would be more fitting. What do the native English speakers say?

I would steer clear of "generic", since it has a specific meaning for
goops.

Shortening to perhaps "general" would read fine to me.


Something like "any-vector-ref" may be an option, since there's no
such thing as a generalized vector, they're just functions for
accessing any vector.

Except "any" doesn't read terribly well to me, it's a bit close to
srfi-1 `any' for a start.  Some other similar word maybe.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


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

* Re: Generalized vs generic
  2005-02-11 21:34 ` Kevin Ryde
@ 2005-02-12 10:55   ` Mikael Djurfeldt
  2005-02-20 23:14     ` Kevin Ryde
  0 siblings, 1 reply; 5+ messages in thread
From: Mikael Djurfeldt @ 2005-02-12 10:55 UTC (permalink / raw)
  Cc: Mikael Djurfeldt

On Sat, 12 Feb 2005 08:34:13 +1100, Kevin Ryde <user42@zip.com.au> wrote:
> Mikael Djurfeldt <mdjurfeldt@gmail.com> writes:
> >
> > To me, the name "generalized_vector" feels a bit odd and heavy.
> > Looking in the dictionaries, it seems like the term "generic_vector"
> > would be more fitting. What do the native English speakers say?
> 
> I would steer clear of "generic", since it has a specific meaning for
> goops.

Well, to me that specific meaning---a function that can operate on any
of a set of types---is just another example of what we have here: a
vector that can be any of a set of types, so my view is that its just
an advantage to use the same term.

> Shortening to perhaps "general" would read fine to me.

But is it OK to keep generalized? Because if it is, then it would just
be silly to make any change.

M


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


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

* Re: Generalized vs generic
  2005-02-12 10:55   ` Mikael Djurfeldt
@ 2005-02-20 23:14     ` Kevin Ryde
  2005-02-28  2:02       ` Marius Vollmer
  0 siblings, 1 reply; 5+ messages in thread
From: Kevin Ryde @ 2005-02-20 23:14 UTC (permalink / raw)
  Cc: guile-devel

Mikael Djurfeldt <mdjurfeldt@gmail.com> writes:
>
> Well, to me that specific meaning---a function that can operate on any
> of a set of types---is just another example of what we have here: a
> vector that can be any of a set of types, so my view is that its just
> an advantage to use the same term.

Sounds fair.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


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

* Re: Generalized vs generic
  2005-02-20 23:14     ` Kevin Ryde
@ 2005-02-28  2:02       ` Marius Vollmer
  0 siblings, 0 replies; 5+ messages in thread
From: Marius Vollmer @ 2005-02-28  2:02 UTC (permalink / raw)
  Cc: guile-devel

Kevin Ryde <user42@zip.com.au> writes:

> Mikael Djurfeldt <mdjurfeldt@gmail.com> writes:
>>
>> Well, to me that specific meaning---a function that can operate on any
>> of a set of types---is just another example of what we have here: a
>> vector that can be any of a set of types, so my view is that its just
>> an advantage to use the same term.
>
> Sounds fair.

I am fine with changing "generalized" to "generic" as well.  Mikael,
please go ahead, if you want to.

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


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

end of thread, other threads:[~2005-02-28  2:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-10  9:58 Generalized vs generic Mikael Djurfeldt
2005-02-11 21:34 ` Kevin Ryde
2005-02-12 10:55   ` Mikael Djurfeldt
2005-02-20 23:14     ` Kevin Ryde
2005-02-28  2:02       ` Marius Vollmer

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).