From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Panicz Maciej Godek Newsgroups: gmane.lisp.guile.user Subject: A mess with GOOPS Date: Fri, 2 Sep 2011 21:53:35 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1314993228 9392 80.91.229.12 (2 Sep 2011 19:53:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Sep 2011 19:53:48 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Sep 02 21:53:44 2011 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QzZo7-00010Y-PL for guile-user@m.gmane.org; Fri, 02 Sep 2011 21:53:43 +0200 Original-Received: from localhost ([::1]:37530 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzZo7-0002Ch-BP for guile-user@m.gmane.org; Fri, 02 Sep 2011 15:53:43 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzZo3-00025q-Gb for guile-user@gnu.org; Fri, 02 Sep 2011 15:53:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzZo1-0001ZR-Ho for guile-user@gnu.org; Fri, 02 Sep 2011 15:53:39 -0400 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:33721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzZo1-0001Yu-FC for guile-user@gnu.org; Fri, 02 Sep 2011 15:53:37 -0400 Original-Received: by vwm42 with SMTP id 42so3079160vwm.0 for ; Fri, 02 Sep 2011 12:53:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=S/gdCsvLL32ww9JknNi1YJb/wzSr95FfpaO2otaHnz0=; b=OjXLTub5IlhhCj0yw3h4orJF+3Uh+FmjuyShffFUKplT7CfUYWQIG4apiXbgDRpCgh JGLTwsv7ubbRMNJDX59E38jUkgjyaCeU04WbbGO4JgzbFspFUoxIWS5Zp0lOLTgW/eUj MOwpMYf52tzk/qletzgEJ1oUiQT9qst74kY14= Original-Received: by 10.220.115.79 with SMTP id h15mr380139vcq.272.1314993216037; Fri, 02 Sep 2011 12:53:36 -0700 (PDT) Original-Received: by 10.220.187.68 with HTTP; Fri, 2 Sep 2011 12:53:35 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.41 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8767 Archived-At: 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 , and 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.