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,gmane.lisp.guile.devel Subject: Re: Keywords in GOOPS methods Date: Fri, 22 Nov 2024 13:29:37 +0100 Message-ID: References: <87iksg2qnm.fsf@gnu.org> <87h67zxxxn.fsf@gnu.org> Reply-To: mikael@djurfeldt.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5538"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-devel , =?UTF-8?Q?Ludovic_Court=C3=A8s?= , guile-user , Andy Wingo To: janneke@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Nov 22 13:30:13 2024 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 1tESnd-0001Hq-6D for guile-user@m.gmane-mx.org; Fri, 22 Nov 2024 13:30:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tESnO-0004SB-Ke; Fri, 22 Nov 2024 07:29:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tESnL-0004Qs-9g; Fri, 22 Nov 2024 07:29:55 -0500 Original-Received: from mail-ua1-f41.google.com ([209.85.222.41]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tESnJ-0003lD-0o; Fri, 22 Nov 2024 07:29:55 -0500 Original-Received: by mail-ua1-f41.google.com with SMTP id a1e0cc1a2514c-85b0a934a17so425828241.1; Fri, 22 Nov 2024 04:29:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732278590; x=1732883390; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5z81hgE5WKhNWm3fhAToT24o7bUJ/LS9E7CCqNfHHLU=; b=cQSETX5FxQMgNp4mEBdXfvmFlSQQk2c2snPwEL8Th3/m9G2PXMbOszPAeUlMoGHoRl 1V9vMTjzbtq5qEPhKliol04wXGBYsPg3djg3JsW6W0/A8fONG8tZ+QWciEtJfbPYImtJ rL0O66SY6NvADi1kGt6kDtfs8lGyTrbJsFu7b9R2PJODU3emLBSo3d5oW1ZBGBOcKkh9 G3bbpgJFpxG5GNPC3VyJDxuGa3A1lqBMFVcB73HphC5nOuDfNF2GVqepvmzOnCO7JmqO azWJXbqV9wk2PP32rCHNRxbc/BebEUVjntLUa5ROPkSX3zLDLrr2mZDkHMWuqrSFNtFY 0NHA== X-Forwarded-Encrypted: i=1; AJvYcCUlwFk0hGmee+CAUkyrv1u1xgdJ2K37r0Nv8i2FQNa6mrtvH/zS6/jd7xgpvS0AFVwV7LEu4Q==@gnu.org, AJvYcCXNcvseAlb/VVv8vGHXG5fDA7tFj7CF88oBk3Pak5uJMICbIWboTOZ0MxhCRxdYq6qoWRBVeD5IFgoe@gnu.org X-Gm-Message-State: AOJu0Yy2Uf3iMkj+PGJkW6CgY7nCtbOo09nNE8wlt9dX4pYWuAh1VW6M ke2zCkKU5c5dyk+FAuc5Qp0v8ViMhDBH2Le2VXiW9YoPE4kD1ZUIH0vDday1zTP4M4oGt8fylo0 RUUGdX9eXakiIDtj2HG3JmjcXAz8TDQ== X-Gm-Gg: ASbGncuCpin2D9qU5dsnz1AhUwsvy18tWbMNi6hhsUyI8QsivuNUGCyYby0d5xAD2RQ T73vcssWOrb2iPmbe/1HH4cC37fZInSOK X-Google-Smtp-Source: AGHT+IHpgY3MjScOCwSoX+SMl3A1aOXJKtQU2Rd0Gi/IO+MjFRdlPSI7cMwj/QyOwfkAnN3srFidclZTGIQmgXJbiAE= X-Received: by 2002:a05:6122:4b0c:b0:50d:34fe:fef0 with SMTP id 71dfb90a1353d-514fe63f74bmr2378577e0c.6.1732278588684; Fri, 22 Nov 2024 04:29:48 -0800 (PST) In-Reply-To: <87h67zxxxn.fsf@gnu.org> Received-SPF: pass client-ip=209.85.222.41; envelope-from=mdjurfeldt@gmail.com; helo=mail-ua1-f41.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=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.29 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 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-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19914 gmane.lisp.guile.devel:22787 Archived-At: Thanks! See responses to Tomas. On Fri, Nov 22, 2024 at 1:20=E2=80=AFPM wrote: > Mikael Djurfeldt writes: > > Hello, > > > That was elegant. :-) > > :) > > > Nope---haven't seen it. (Or, at least I do not remember it.) > > > > Maybe I should have a look at what the optimizer can do about Mark's > > code. (As you might have seen, my code is a modification of the method > > syntax implementation itself.) > > Yes, I didn't quite get if this brings something else too, except for > the obvious > > > Any opinions on what is best: Having a define-method* or having the > > functionality in define-method itself? > > ...which I think in your version, not having to use define-method* > feels more elegant/GOOPSy to me, as it's all overloads/generics, > but I have no strong opionion on this. Thanks for working on this! > > Greetings, > Janneke > > -- > Janneke Nieuwenhuizen | GNU LilyPond > https://LilyPond.org > Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE > https://AvatarAcademy.com >