From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.devel Subject: Re: Adding a generic mathematical library Date: Sun, 28 Jul 2024 14:28:27 +0200 Message-ID: References: <87o76ik616.fsf@gmail.com> <87wml6e4v0.fsf@dataswamp.org> <87r0bdeoez.fsf@dataswamp.org> 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="19002"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Emanuel Berg Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 28 14:29:00 2024 Return-path: Envelope-to: ged-emacs-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 1sY31I-0004mB-5w for ged-emacs-devel@m.gmane-mx.org; Sun, 28 Jul 2024 14:29:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sY30u-0004VN-3N; Sun, 28 Jul 2024 08:28:36 -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 1sY30s-0004VA-Ed for emacs-devel@gnu.org; Sun, 28 Jul 2024 08:28:34 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sY30q-0007kx-7V for emacs-devel@gnu.org; Sun, 28 Jul 2024 08:28:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.com; s=s31663417; t=1722169707; x=1722774507; i=dimech@gmx.com; bh=J99919oX+E01Y+d8BP397BFFouz1icTi5W6czAiqCIY=; h=X-UI-Sender-Class:MIME-Version:Message-ID:From:To:Cc:Subject: Content-Type:Date:In-Reply-To:References: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=XDHASBR8MlN+QL1pnNg7p+gn84GOjtzsDYGO0LVF5bkrKxwd5jok0QtY0QI1ekYQ ea4qVV+z3TjUbweudq+T5KisLqqFw3QCeAd2h/oqgSwk7IvKse7rnvL/5j1kHslnN zYRuJf65t67SWa69qwf6L1cuq4gNB+yo5cY0qIxPJ2Yv9Y9AIzP8u6Pd/U8CcGq3O WEu1VsUUuaT98hUZ9gl+HHHwUnCGilAInorS6AnczoYgr5SXmmGX8bd+i2UWxuf2u QF4bocoCFVVZoostZg6wDkVAAm/dJ1HhCsZf2HMvcxo/TkvvLpdjlMB4jUt6DzkH7 3Ucxyn7qllOrmYCEdA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [92.251.79.197] ([92.251.79.197]) by web-mail.gmx.net (3c-app-mailcom-bs05.server.lan [172.19.170.173]) (via HTTP); Sun, 28 Jul 2024 14:28:27 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87r0bdeoez.fsf@dataswamp.org> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:Hajx+c16kgixhrzI+Y7ip/KF0VE77QTPpCvuexs0FimsZVWQAhX0OvdW0oU6WH5kodbg+ BKL8odqZx1/Cy635an37EIjwT3zWHt2JqbyfDwiW2/fP5p1InvQglcgNU4110FKPUiFHNliTKwL+ 0yPzGp2HQ2V1cfDvbQIZ1+ezDeJrRRsFqxuvzxegiOxfHeDW3Tn+9Z31excx1OVF5RNVSe8Oeg6m I9reP8KXkTEOsHf6rza0HAFtEt8RqzTITjic1/Mq9ex7cgLyDHFQ6kP8485nOLt4ou4WTZovnLAN hA= UI-OutboundReport: notjunk:1;M01:P0:Vo0++rJ0h6g=;K7jMiSYcUgZsVZ2TWWhjV2fxz6w RbHaHFhY6P34y8sAFDwq8B3VobuHxBKHYdf+XYl2oBUwb+fI0+QTXh7bDOsehjHSWj+sIS+k0 YIXjLVLWcxci3mn/V6oIblijQjOcDt7dVsAF8W8rVd37pDaFdcMYzzy1pzwKL82MLItbIbuok 4jCsPVPJPt+2LZLBJhccr2huhcQkKNpAnDKyucf8MYZNI587iVtA9THGte5QYIQcfzdp5TRdA 5emznGxv4xEpjBlv23FsfX+0fOcV5DOFqnaJjDWwavaRw8JbU4IPt9ITe8IFkC2Hf2PRtqcZ1 DpbLiuKb5x9zRocnUvviKgLU2qdW/xJZQdKhymt51Ra/+NkbNhQ2bNNmd1XD/Z70Wpsubufib k2uYZdU4BP9oZ3QESGazol4PPVhYlNKJA0Wr1KOcLRBRNbfodaU74HnQerUM31IZ9dcIWXlid DulEvbJOYacolhzDXm6TJazcofxdaynpHwhY0T2A/XyPE/7SNTDFVoPl1G96OwnCOqX5ZSDBA r8P/jJ6RB33wZ6zuCL+IO7kATPS7lAcLaNSe+1K+Po3W8GEa3EVzZUKyTz8B3/YGYzHbayERz VZnHaHukHMknuMhfUSgjfYT3RFvx43VSDIDsjQIZ0rD5E8693hphy2KkvbrwPmn5uudZCOjue V29LgclHDHllGqtRhhm4aErtoJTFsv6Ua3VrElOzHA== Received-SPF: pass client-ip=212.227.15.18; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:322159 Archived-At: > Sent: Sunday, July 28, 2024 at 11:39 PM > From: "Emanuel Berg" > To: emacs-devel@gnu.org > Subject: Re: Adding a generic mathematical library > > Christopher Dimech wrote: > > > If things get out of hand, it is a problem. > > It is the z-dimension or hyperpattern aspect of Lisp. I suspect it is unusual to have vec as in (vec 1 2 3) for other list types. > Observe Python: > > if threads.is_set(): > self.send('QUIT') > self.socket.close() > return > > And Lisp: > > (if (< fst otr) > (push (or (and read (apply read nil)) > (buffer-substring-no-properties fst otr)) > strs) > (setq mov nil)) > > >> So if one can stick to a subset methods and a consistent > >> style at least for one file it is good :) > > > > Depends on what parts need work. Do not plan to solve all > > that in one go. > > Well, I don't look like a bug fixer to anyone. > > BTW it sounds like you didn't have a look at the Calc code :) I did actually, but likely not as deep as to what you want to do. Nevertheless, I can understand your points, and am getting convinced. Does functionality from calc happen often in other parts of emacs ? I suggest getting some changes to calc, then try to get some appropriate package and employ solely calc on it, to see where things go. > -- > underground experts united > https://dataswamp.org/~incal > > >