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.devel,gmane.lisp.guile.user Subject: Re: Keywords in GOOPS methods Date: Thu, 21 Nov 2024 23:51:45 +0100 Message-ID: References: <87iksg2qnm.fsf@gnu.org> Reply-To: mikael@djurfeldt.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000036950627741d28" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3660"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-devel , =?UTF-8?Q?Ludovic_Court=C3=A8s?= , guile-user , Andy Wingo , Mikael Djurfeldt To: janneke@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Thu Nov 21 23:52:33 2024 Return-path: Envelope-to: guile-devel@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 1tEG2L-0000mb-0h for guile-devel@m.gmane-mx.org; Thu, 21 Nov 2024 23:52:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEG24-0004zS-Dg; Thu, 21 Nov 2024 17:52:16 -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 1tEG1r-0004yy-TY; Thu, 21 Nov 2024 17:52:03 -0500 Original-Received: from mail-vs1-f44.google.com ([209.85.217.44]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEG1p-0005Vp-RX; Thu, 21 Nov 2024 17:52:03 -0500 Original-Received: by mail-vs1-f44.google.com with SMTP id ada2fe7eead31-4adde46ccf8so36332137.0; Thu, 21 Nov 2024 14:51:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732229517; x=1732834317; 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=fBbsQo59UkTbHo3RsP3Q4jInMUoGZVZiNiruzrv5gzk=; b=n6fv5QsviQoEYQhrrfZN9A2fLHMlzC7nxN+dsbLJHsSK0jIpxdhRdGDJFV3GeuGz3u qPrIv+CH1f8dSUHj6btROnQ96xfFw+b4kjOdbxH5s2cU7GaI4gr5+z4DNIp1DWGDcUa+ zgrF5pXC7VGwqYLqLgSA703q0zVkURre6d5NmWLolutOl8fDp66NV+ldQ6v3gGKrvsvJ ZWoeDTg/CYxd4TVbTJq+zbguoXGoNsIAb2cEHQviR9Ad8Wvq03hSzfv43tM9dktjirgh wjwmLZwpR1OiDC1Uma6uxqTWJexh8cocoei3IKAyh7UpYOz4esvrBxNFgPBVqPbykqPx 7OWQ== X-Forwarded-Encrypted: i=1; AJvYcCUFYJdBVwY+Ua23gk0CwR6PyJhs4BChgxK+DIxc3u4He1Owal8/HZbzjv9aI5AytQrxr7y77Q==@gnu.org, AJvYcCWxVBIBQq72wGPh0a5DvPNOBpbK5CVjHrH8M8y2Co7dG077BMDDlUxbbRk+knbzco4PhWNY6VlJixfw@gnu.org X-Gm-Message-State: AOJu0YwP5zY6aqufDBAGeaMsnxic8rcOBI3mw/n9Y9bCdx7yn0Eyi9Ps b56A9ymHQ9iQW5bU9qHr9g45tDFhSlTPyrT9cXjLMTba6U2AjiwWzG5GZbLLpzeH1ewf6bncyLo q7uaGoj3qk30GTHr6ISqCWHODLBe1vA== X-Gm-Gg: ASbGncsKKq4mKhryk0iPb0XiEt9wkviXkxU4wErlaX4LC0gLtn4ikg613QdiwCINDQw B2QjMVBjp+nirDxU1VSZkCoPI8Hz2FRDc X-Google-Smtp-Source: AGHT+IGuGDDcR3ntc7g2uq0Q9roPBY3EboigRYg7V9wauERp958YOU7e9lAKRXohss/Dq8lkSLPujdTMx41hE+dTPnM= X-Received: by 2002:a05:6102:f13:b0:4a9:15c:ef8 with SMTP id ada2fe7eead31-4addceb83fdmr955026137.24.1732229516504; Thu, 21 Nov 2024 14:51:56 -0800 (PST) In-Reply-To: <87iksg2qnm.fsf@gnu.org> Received-SPF: pass client-ip=209.85.217.44; envelope-from=mdjurfeldt@gmail.com; helo=mail-vs1-f44.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-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:22783 gmane.lisp.guile.user:19910 Archived-At: --0000000000000036950627741d28 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Janneke, 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.) Any opinions on what is best: Having a define-method* or having the functionality in define-method itself? Best regards, Mikael On Thu, Nov 21, 2024 at 11:00=E2=80=AFPM wrote: > Mikael Djurfeldt writes: > > Hi Mikael, > > > Since there are no comments, I'm inclined to apply this patch. I will d= o > > that on Sunday if there are no comments before that. > > Just FYI, have you seen the attached patch by Mark Weaver? I've been > carrying that for some time now, functionality like this is very > welcome. > > Greetings, > Janneke > > > -- > Janneke Nieuwenhuizen | GNU LilyPond > https://LilyPond.org > Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE > https://AvatarAcademy.com > --0000000000000036950627741d28 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Janneke,

That was elegant. :-)

Nope---haven't seen it. (Or, at least I do not = remember it.)

Maybe I should have a look at wh= at the optimizer can do about Mark's code. (As you might have seen, my = code is a modification of the method syntax implementation itself.)

Any opinions on what is best:= Having a define-method* or having the functionality in define-method itsel= f?

Best regards,
Mikael

On Thu, Nov 21, 2024 at 11:00=E2=80=AFPM <janneke@gnu.org> wrote:
Mikael Djurfeldt writes:

Hi Mikael,

> Since there are no comments, I'm inclined to apply this patch. I w= ill do
> that on Sunday if there are no comments before that.

Just FYI, have you seen the attached patch by Mark Weaver?=C2=A0 I've b= een
carrying that for some time now, functionality like this is very
welcome.

Greetings,
Janneke


--
Janneke Nieuwenhuizen <janneke@gnu.org>=C2=A0 | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://Avata= rAcademy.com
--0000000000000036950627741d28--