From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ANjzEFfDV2SaDAEASxT56A (envelope-from ) for ; Sun, 07 May 2023 17:27:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id XosUEFfDV2QS3QAAG6o9tA (envelope-from ) for ; Sun, 07 May 2023 17:27:19 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E6AAA3D9B8 for ; Sun, 7 May 2023 17:27:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pvgHx-00021U-3e; Sun, 07 May 2023 11:27:05 -0400 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 1pvgHu-00021I-Or for guix-patches@gnu.org; Sun, 07 May 2023 11:27:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pvgHu-0004sL-Ge for guix-patches@gnu.org; Sun, 07 May 2023 11:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pvgHt-0002up-Vr for guix-patches@gnu.org; Sun, 07 May 2023 11:27:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63330] [PATCH 0/4] Functional programming? In my C++?! It's more likely than you think! Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 May 2023 15:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63330 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: 63330@debbugs.gnu.org Received: via spool by 63330-submit@debbugs.gnu.org id=B63330.168347316511144 (code B ref 63330); Sun, 07 May 2023 15:27:01 +0000 Received: (at 63330) by debbugs.gnu.org; 7 May 2023 15:26:05 +0000 Received: from localhost ([127.0.0.1]:38182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvgGz-0002tf-G1 for submit@debbugs.gnu.org; Sun, 07 May 2023 11:26:05 -0400 Received: from mail-qv1-f54.google.com ([209.85.219.54]:48169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvgGx-0002tB-Ld for 63330@debbugs.gnu.org; Sun, 07 May 2023 11:26:04 -0400 Received: by mail-qv1-f54.google.com with SMTP id 6a1803df08f44-61b5da092dfso16799266d6.0 for <63330@debbugs.gnu.org>; Sun, 07 May 2023 08:26:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683473158; x=1686065158; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=OPY7tUE8R8MPkM83OkOZwCOR+EPC4F4kRAEbOMmeO7k=; b=H2EQ4X+F2xaM+jy2zb+psy2SR1lQGFhZTopXNdghD8en82T+OGrCuGI1eimG5JrpQG gTBMJxVhMhWy6I7rTmQulOUJGDmJwFtVbfagEtTmKDzsfjh1j8KH3NTjgogL39vMF2Mk uP7nGkY3IrrbiXsOHw06drCn2YqW2j9cwRXVAoYaI7a3+oCLPCZnfghbGGt3SQRA7TL2 LokinHuSUQfdMwDB4DygLSo7qzK97UAWTts7Q6Pv1tkev7iOgIuyzLVaTkY+QUUzYlUp 5h6EcQ/Sx9OvhchwBE0I9uh6v7XAKjjRUq3kFoq781E7I6LDcDwFqYw8beuJSceLdbT1 zAQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683473158; x=1686065158; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=OPY7tUE8R8MPkM83OkOZwCOR+EPC4F4kRAEbOMmeO7k=; b=CcxmSPnogA9Wl0G36NMYbCVwoOlY0LjEm8u88w9mjD6a3TCiCTVM/SfNb3Ytf9crwo HKS4P3gRWdPhmSATF1+02qkVD48C6JIhu2SBFpnhEUaIVqhz/Za9/C0F8diZgCfWuhrq kXRfiG46koKnLE60qMgRBrzU9HxUZmoQCbX28MPqwMMbDYl/Tg2V+W+aTZP054ZeiEtz SKj9XtKcBteUeo9ZjMIZZ31QkTAO6/t+Fac9YgJK6TgtvN+MeqBCk0+vIENSgNX8+SqP afanZIkDCxSkoI4RldqRO6Oz2KDQGjo0S0D6fTThd62j74SmyHze4BWEDTe3PWKcxk9L 8vWQ== X-Gm-Message-State: AC+VfDxpY0WTgwQ+uSdb6Za6lhnM2PXAqrfXTOMmEwc1f9SHPjBzgffg ya+t7vPKuhVnjfuiYaI5rLgsYb5BBd5LQQ== X-Google-Smtp-Source: ACHHUZ54bcXSUXq11rK2c9AH3zr2OUIaUBivhRREPgQsVBoBT7cIIR0VXpxDMadvrD4jDf6HJqhbFg== X-Received: by 2002:a05:6214:1250:b0:5e3:d150:3163 with SMTP id r16-20020a056214125000b005e3d1503163mr12082807qvv.20.1683473157704; Sun, 07 May 2023 08:25:57 -0700 (PDT) Received: from hurd (dsl-10-131-119.b2b2c.ca. [72.10.131.119]) by smtp.gmail.com with ESMTPSA id w10-20020a0ce10a000000b0061b5dbf1994sm1807741qvk.146.2023.05.07.08.25.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 08:25:57 -0700 (PDT) From: Maxim Cournoyer References: <8850ffbf647e225a8fdc96acdf0e9a5df28e8f89.1683389080.git.liliana.prikler@gmail.com> Date: Sun, 07 May 2023 11:25:56 -0400 In-Reply-To: <8850ffbf647e225a8fdc96acdf0e9a5df28e8f89.1683389080.git.liliana.prikler@gmail.com> (Liliana Marie Prikler's message of "Sat, 6 May 2023 15:43:04 +0200") Message-ID: <87zg6gyxh7.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683473238; a=rsa-sha256; cv=none; b=Jr5HAhEe7GwfuKr9uJ5e3ffjjdWFP2QerSHculOIhlLLFxyDPlWXJGykeESVfjxJ5J5F9N LnZI+lE6SBPeqlMYZIZxgpxsHdpgcsEj1hlkoFktVyGW/6OCNkNICVgGJlnWIQ8xa8Wkaz wKzvRpoayE6y6r4OW1/xCe91w5XPJq5DqcdffzJ3+gBjQ7UD5Np9JK9W6upTY+cA7ihb60 y3ZY7k8H0gkw1oPyH0NTJDAj78lVjG4G5+rYLTzZL9mQW42t676ALmHndZZoAXQRd7Y5R9 4rPnv+VZwiBpHf8lYpUya5Dw3937f1hMJKEv+s6doZomgAdLuOvv7uYZeLL8WA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=H2EQ4X+F; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683473238; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=OPY7tUE8R8MPkM83OkOZwCOR+EPC4F4kRAEbOMmeO7k=; b=rQ5Fo+i93jY8QXUjgBuBZcp+cekZEf46YWMm/HPaKDzoQP3yNhc/jyh7K4dRQp8oMAJ9yl 2dCaldH8q391dvLAWVEP+qIZdhwZbceZ3jlAqVTHBoFVF++GyCI/gQrk0UV7as+rh+wAeU Udx+t2HVpeex726TxUkpKOX4NTDtkuH46Z+R852Ta9FZkaWfwJ+KnqwygfPpKatsgNAza7 C4e71CEealEDJSSoJCeQK1VMNJAM0ncPZ7+kBrEXeiJ/5JXkuN9IrxF4RFJVDnEKe/Y/Cw RAxCgHZ1n41DWyUCYI41yJCn854PdLbvYMOFp7hlzZNq7yaKNjIAqEKLH4jCoA== X-Migadu-Spam-Score: -1.39 X-Spam-Score: -1.39 X-Migadu-Queue-Id: E6AAA3D9B8 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=H2EQ4X+F; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: Mh+T5/rU2Zs9 Hello, Liliana Marie Prikler writes: > * gnu/packages/cpp.scm (zug): New variable. > --- > gnu/packages/cpp.scm | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm > index da3567b5ef..0ab7d0785b 100644 > --- a/gnu/packages/cpp.scm > +++ b/gnu/packages/cpp.scm > @@ -1423,6 +1423,31 @@ (define-public immer > written in C++.") > (license license:boost1.0))) > > +(define-public zug > + (let ((commit "d7e814b45fceceee3cb1442997d8b46cee4764ec") > + (revision "0")) > + (package > + (name "zug") > + (version (git-version "0.0.0" revision commit)) > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/arximboldi/zug") > + (commit commit))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "1ww4prh763n81kzzijak8z495varlvqml4ip7i09klqnw6ya72fc")) > + (modules '((guix build utils))) > + (snippet #~(delete-file-recursively "tools")))) > + (build-system cmake-build-system) > + (arguments (list #:test-target "check")) > + (native-inputs (list boost catch2)) > + (home-page "https://sinusoid.es/zug") > + (synopsis "Higher-order sequence transformers") > + (description "Zug is a C++ library providing transducers, that is composable ^, I'd add a coma after "that is". Otherwise LGTM. -- Thanks, Maxim