GNU bug report logs - #78656
[PATCH] Add new reduction primitives `fold-left' and `fold-right'

Previous Next

Package: emacs;

Reported by: Zach Shaftel <zach <at> shaf.tel>

Date: Sun, 1 Jun 2025 02:36:06 UTC

Severity: normal

Tags: patch

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Zach Shaftel <zach <at> shaf.tel>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Add new reduction primitives `fold-left' and `fold-right'
Date: Sat, 31 May 2025 22:35:20 -0400
[Message part 1 (text/plain, inline)]
Tags: patch

this patch adds left and right sequence reduction functions in C, along
with tests for them. i don't know if this is the sort of thing the
maintainers actually would want to merge, but i figured i would just
submit it and hear your feedback. would also appreciate any stylistic
feedback, for future patch submissions.


In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.49, cairo version 1.18.4) of 2025-05-27 built on bigbox
Repository revision: 75acd19b011febb3eb35ee1bec1552b96e1bb25a
Repository branch: HEAD
System Description: Arch Linux

Configured using:
 'configure --with-modules --without-xwidgets --with-native-compilation
 --with-tree-sitter --without-gsettings --without-gconf --without-gpm
 --with-pgtk --without-compress-install --with-mps --without-xaw3d
 'CFLAGS=-mtune=native -march=native -O2 -g''

[0001-Add-new-reduction-primitives-fold-left-and-fold-righ.patch (text/patch, attachment)]

This bug report was last modified 13 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.