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: Re: overloading an existing operator in Guile Date: Tue, 3 Oct 2023 12:33:43 +0200 Message-ID: References: <3D3D44C6-4FF2-49E2-A976-5D7EB39628F6@abou-samra.fr> 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="7153"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user To: Jean Abou Samra Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Oct 03 12:34:24 2023 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 1qncjO-0001V1-NE for guile-user@m.gmane-mx.org; Tue, 03 Oct 2023 12:34:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qncj1-0007Gt-7c; Tue, 03 Oct 2023 06:33:59 -0400 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 1qnciz-0007FH-G5 for guile-user@gnu.org; Tue, 03 Oct 2023 06:33:57 -0400 Original-Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qnciy-0007q4-0b for guile-user@gnu.org; Tue, 03 Oct 2023 06:33:57 -0400 Original-Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-522bd411679so1185500a12.0 for ; Tue, 03 Oct 2023 03:33:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696329234; x=1696934034; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mKs1v1odiK7J9Kax7RwRfmDy4XSaEW1QQPIAFmpHqiY=; b=CnczhFn1VTL+fxBQj7orEV6eMF9A65afVB4Sj2tTSRTqKxcvIFR0iEoxyf+s/1sxbc qLuJJpPVxFSCDJ9CHG2n3trDfq6kk8pk7gdpOsLv89c6//pHfM87e3KvYg9ZPJS3A7ek KXZf0wmSWloL8d0LdbrK0fp/T79kHWiGtUWaBSYed+yDszHeIVAO3CiPOX9Cu6uvYx59 sKD+azzySx5mH4pWmNoYw7hBuGRrepeE/yCEmrvsE/O8wCou5ycG5cx6owa/s8YSavQT c2uZUEooMdzTtUbS3pN/cR6WQUs9pOOkgSm0GC1/0COny0JmTXmTcwVz7JGOcaKdUuAL XMbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696329234; x=1696934034; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mKs1v1odiK7J9Kax7RwRfmDy4XSaEW1QQPIAFmpHqiY=; b=BDt/SqyRn95vOSpJqH/cFhFQkoCtKBx60q2avOa8K0TQcTFrtCZbsfzHCmTGaUmuHW Xr8lDg3bl7FEpnjaS7viQm6YGoOVLPGOvCSyDrbU63iJ0n/zNkRyCVQ1O4Z6wsWwuGi9 FykwPRJ6dJWEmjxSZYKJ3TuPP/jOChC4meyQ9q9QGoX6rdBdSFC4df4m995IOciFI2ct ZcWaQEEp2MhpPpAL0s0L+r0CAvfET4izCuxd7Q3Y7gWShEtZf3WTZ++3w4sArbmoXvhY jdTXPysfQVMlVkywK0wrBY4sJ02ZSu/Ilg0us1YLTrDtgQZlw8JUqH87XJIVugvrUivI XHKQ== X-Gm-Message-State: AOJu0YxgwPRxm69+L7mOUf5crBAm4RAHDillcdB2dyqkg5o8F9g5raJR h5CfvTTWxjdZAhbBVyxLSiOteVwXFKA73CYYF6sAbI6Jois= X-Google-Smtp-Source: AGHT+IG+tLX5ffo1adv435723jz4Hi0IlO0/YFwDSlSwKDQpJQsJ8hqDOCLO+6TVcIkjsKgNuazH1MsJCiQY+P+k6eI= X-Received: by 2002:a05:6402:1351:b0:531:9c1:8271 with SMTP id y17-20020a056402135100b0053109c18271mr12630386edw.14.1696329234334; Tue, 03 Oct 2023 03:33:54 -0700 (PDT) In-Reply-To: <3D3D44C6-4FF2-49E2-A976-5D7EB39628F6@abou-samra.fr> Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=damien.mattei@gmail.com; helo=mail-ed1-x532.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=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-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:19212 Archived-At: thank you i understand i must overload + the usual way in class scheme@(guile-user)> $2 =3D #< 104a6e380> about the described problem this should not be a problem because - as no sense in term of concatanate On Tue, Oct 3, 2023 at 11:19=E2=80=AFAM Jean Abou Samra wrote: > > > > Le 3 oct. 2023 =C3=A0 11:14, Damien Mattei a = =C3=A9crit : > > is it possible to overload an existing operator in Guile? > > > > Yes, but it's a bit buggy. See https://debbugs.gnu.org/cgi/bugreport.cgi?= bug=3D64508