From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Damien Mattei Newsgroups: gmane.lisp.guile.user Subject: GOOPS question Date: Fri, 30 Apr 2021 01:10:12 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2497"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Apr 30 01:10:57 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lcFo8-0000Xl-Ge for guile-user@m.gmane-mx.org; Fri, 30 Apr 2021 01:10:56 +0200 Original-Received: from localhost ([::1]:51028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcFo7-0001lX-It for guile-user@m.gmane-mx.org; Thu, 29 Apr 2021 19:10:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcFnf-0001lQ-LO for guile-user@gnu.org; Thu, 29 Apr 2021 19:10:27 -0400 Original-Received: from mail-il1-x129.google.com ([2607:f8b0:4864:20::129]:46863) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcFnd-0003Zu-Us for guile-user@gnu.org; Thu, 29 Apr 2021 19:10:27 -0400 Original-Received: by mail-il1-x129.google.com with SMTP id l19so14661800ilk.13 for ; Thu, 29 Apr 2021 16:10:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=cxtpxWuXRd8SnYtk5oPBDsTh0simqVeGnoOuczqD910=; b=BuSLFY7BIrUCrG4aA/PCC96WIDgd2vXQAccrGjMiqYvZgSwImBaCVyMI+EA6NsahqU Imoq7ji/tV7mj/DsK04rc/VbMN2cxQL7W6/U9Pqunf9KtdeNWycjJoQOh6ep0eiCmA4T D6ZYJxtHe5hlaLj1amzYLndnlYv/xIQFBGw7H5v8wUgwDo+Yna8jFbOx0r3GkKKpYwN1 OZD0uXNRW5pr1DB8GfzW9cp+GShOzQvB8c50nuAxuGRjrZUHMCay6Yh/FmFf/spBCCDt XkPPxsej77EeirFJ9WEyMQ6XeunY2O8zj2DAdUzLIrV0xmqg/qV48dXq1RoA401C30iC EGbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=cxtpxWuXRd8SnYtk5oPBDsTh0simqVeGnoOuczqD910=; b=fInbLGTn47OQEdMiIHAROMC7LbG6dEJpgwDSWqknB21ZnImYLpyuros9vFRMwQ37QE l/3Ds/p3++JkiLZRYOlUmxVWd0YtjmqM5o5zSKvcJhlB7FuwOxuaUC9v7K5Hs3APpzC3 iA+xez4W2cFaIIaiSubHCylbPxMJpICWNobbn4YyQy8bX/tysZ5cuvW0VpbhpLf59jxX QbV1utoUy01ncipq3RCBhDzvgMI5oo5QoohVOyhiXB/VvALf6nK/UA4lZYftwTaziSqR quuTtSKFqgq4bA9i6FaZIKcRxjiQDLjn/zZOe8/VLqkpmHoMeLSgyRP2rp/6jNukmgYH agkw== X-Gm-Message-State: AOAM532AQeRub9UCydz3sTBsgIlMBbLBb4sQAvHAs81fnmWdlTAp15I2 ZiUBXah9tFNkaLCPpctAjEqmWdcyh08FEZ+zPjeadElsSbxk6g== X-Google-Smtp-Source: ABdhPJwihdRz1sBlM1hF/mKXmNAQNMm2kskSx23BazuYBFfWQph8GJi3OUJp1qmxwZAI0qSBLRPhfARLv+ZOvHfxVKQ= X-Received: by 2002:a92:3307:: with SMTP id a7mr1706852ilf.113.1619737823426; Thu, 29 Apr 2021 16:10:23 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::129; envelope-from=damien.mattei@gmail.com; helo=mail-il1-x129.google.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17477 Archived-At: hi, i want to create a growable vector class in Guile, such as std::vector or python list, first i do not know if it exist already? seems not i want to use GOOPS but i do not understand how the superclass could be accessed,used, instanciate... for example in the doc there is: (define-class () r i #:name "Complex") seems superclass is of no use for my growable vector i would like to use array as superclass? but perhaps should it be just a slot as array are a subset of growable array ,so a subclass anyway if i write something ike that: (define-class () ..... how can i use the object? i think perhaps i should not define a superclass or as super class.... any advice welcome... Damien