From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mikael Djurfeldt Newsgroups: gmane.lisp.guile.user Subject: Re: GOOPS question Date: Fri, 30 Apr 2021 13:08:30 +0200 Message-ID: References: Reply-To: mikael@djurfeldt.com 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="40053"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user To: Damien Mattei Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Apr 30 13:57:45 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 1lcRmD-000AKt-8t for guile-user@m.gmane-mx.org; Fri, 30 Apr 2021 13:57:45 +0200 Original-Received: from localhost ([::1]:42332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcRmC-0005qk-Ae for guile-user@m.gmane-mx.org; Fri, 30 Apr 2021 07:57:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcR0o-0002SG-BJ for guile-user@gnu.org; Fri, 30 Apr 2021 07:08:46 -0400 Original-Received: from mail-vs1-f44.google.com ([209.85.217.44]:37540) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcR0k-0002jI-Qu for guile-user@gnu.org; Fri, 30 Apr 2021 07:08:46 -0400 Original-Received: by mail-vs1-f44.google.com with SMTP id a24so155772vso.4 for ; Fri, 30 Apr 2021 04:08:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=1IXfnBFiYCd063Uhn8dYrFIg0OnUME2IugcXa1BpK+8=; b=F+vGMnkk5QDq1516JN7CXZHZ1oMc9dmj/WlHzQwJnu2/GCi6gOTo/3Vg0oa4BrjOPn 9vpBon/IstX6X5Sa2IqbhQQuqh96+qwP5MS49FC65HqRxnh1K6kH+gYGRktIcxnkWpaA wdlOKndbTrJeuy1hLZwrqW/tJiAE52tGCWJNm5sjFZjqNb+H+e9tscwhj+k+UFf3VRjc eshQBhuYmvqp9QiTtLcCl94bdoy6U5kvOm0LWTHRNt2ICTp3ilCh7Mn5JZxDoLH3+JVy jCIDLmswAWjvY9whdb/KI2RLXD36m5+kMISeBBJFRMygxduoeATDBQW3VXQ501E1eNB6 40Jw== X-Gm-Message-State: AOAM533fsacYJh+E4EpBdZ+OH58j5V4P1+xW7tVTxsjDTlXa53A8DhvU ZiJt2y3EfduRitF53DcAcsxuZGesWur6CFd9EYI= X-Google-Smtp-Source: ABdhPJzgqOoWPZD8I5ibodMJiuFeH9+7WmZMPm/x6JnW5ma9MCj3VQO96icmNDnTuU4uiRgqLoTSVO0ONGALw4RFSbQ= X-Received: by 2002:a05:6102:72c:: with SMTP id u12mr5189774vsg.3.1619780921773; Fri, 30 Apr 2021 04:08:41 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=209.85.217.44; envelope-from=mdjurfeldt@gmail.com; helo=mail-vs1-f44.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:17485 Archived-At: On Fri, Apr 30, 2021 at 1:11 AM Damien Mattei wrote: > for example in the doc there is: > (define-class () r i #:name "Complex") > > seems superclass is of no use > Well, it certainly *is* of use in the sense that methods operating on will immediately start to also accept as an argument. That might seem worrisome but is not if there is some agreement on which operations should be implemented for all numbers. So, if you had previously written an algorithm which operates on numbers, there's now a good chance that it would also work for objects.