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: Re: A mess with GOOPS Date: Tue, 6 Sep 2011 12:17:52 +0200 Message-ID: References: <87y5y5230u.fsf@pobox.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1315304286 8893 80.91.229.12 (6 Sep 2011 10:18:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Sep 2011 10:18:06 +0000 (UTC) Cc: guile-user@gnu.org To: Andy Wingo Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Sep 06 12:18:02 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 1R0sj8-0000UQ-UF for guile-user@m.gmane.org; Tue, 06 Sep 2011 12:17:59 +0200 Original-Received: from localhost ([::1]:49271 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0sj8-0001V5-D0 for guile-user@m.gmane.org; Tue, 06 Sep 2011 06:17:58 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0sj4-0001Uw-Lo for guile-user@gnu.org; Tue, 06 Sep 2011 06:17:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R0sj3-0004lC-C6 for guile-user@gnu.org; Tue, 06 Sep 2011 06:17:54 -0400 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:42762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0sj3-0004l4-6l for guile-user@gnu.org; Tue, 06 Sep 2011 06:17:53 -0400 Original-Received: by vwm42 with SMTP id 42so5498550vwm.0 for ; Tue, 06 Sep 2011 03:17:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=iv5jz7gD6LMaxIgxm5CpNk/VucAFy5+3j6CI2bbJ0X4=; b=bStPFBZrelgnI8N/vG+RksFQZINal5b9++4hYo/7MjpM907SaMKorlTExwBe3DSIXB +MGkeFEZxUsNG2/urxf241yyu0DFdfUtwh/w21puYE3mxqV+yJZx4nZ4nkHOEC3bRcQ5 sB+sz3ldEh23OaboTzU8X4KiOwdytWAP0biyQ= Original-Received: by 10.52.22.237 with SMTP id h13mr1154668vdf.228.1315304272267; Tue, 06 Sep 2011 03:17:52 -0700 (PDT) Original-Received: by 10.220.187.68 with HTTP; Tue, 6 Sep 2011 03:17:52 -0700 (PDT) In-Reply-To: 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:8774 Archived-At: 2011/9/6, Panicz Maciej Godek : > OK, you were right :) > I made a small change -- instead of namiing my new class > , I simply named it , so that the smob name > overlaps with the class name. I don't know if it's a proper > programming style, but it's simple and it works. > > There is, however, another problem that I've observed. I don't know if > it is caused by my modification, but both array-shape and > array-dimensions return the following error: > > While compiling expression: > ERROR: In procedure vector-length: Wrong type argument in position 1 > Oh, and I forgot to mention -- the error appears when I try to apply these funtions to regular (non-typed) array with rank > 1. It works for typed arrays, vectors and uvecs. I'll try to look for the reason of this and let you know if I find anything interesting. Regards, M.