unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* A mess with GOOPS
@ 2011-09-02 19:53 Panicz Maciej Godek
  2011-09-03 13:01 ` Andy Wingo
  0 siblings, 1 reply; 10+ messages in thread
From: Panicz Maciej Godek @ 2011-09-02 19:53 UTC (permalink / raw)
  To: guile-user

Hi,
I've been using GOOPS with vectors now, and I've observed an annoying
feature. While "array-map!" et al. accept vectors, uvecs and arrays,
and so it is easy to write joint code for these types, this fact is
not reflected in the world of objects.
In other words, classes <vector>, <uvec> and <array> have nothing in
common, which requires me to triple the number of methods that could
accept any of these types.
If I would write any wrapping class hierarchy to embrace these
similarities, I would loose the advantage of having the special reader
extension for vectors and arrays, so I believe that this can be only
changed in the core of GOOPS.
Is there any possibility to do so?
Regards,
M.



^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <mailman.173.1315324889.11781.guile-user@gnu.org>]

end of thread, other threads:[~2012-01-11 23:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-02 19:53 A mess with GOOPS Panicz Maciej Godek
2011-09-03 13:01 ` Andy Wingo
2011-09-05 21:35   ` Panicz Maciej Godek
2011-09-05 22:47     ` Panicz Maciej Godek
2011-09-06 10:17       ` Panicz Maciej Godek
2011-09-06 11:06         ` Panicz Maciej Godek
2012-01-09 17:11     ` Andy Wingo
2012-01-10 12:22       ` Daniel Llorens
2012-01-11 23:57         ` Daniel Llorens
     [not found] <mailman.173.1315324889.11781.guile-user@gnu.org>
2011-09-06 17:07 ` Daniel Llorens

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