From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GILnNz40XWTMMgEASxT56A (envelope-from ) for ; Thu, 11 May 2023 20:30:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CPfNNz40XWTtVwAAauVa8A (envelope-from ) for ; Thu, 11 May 2023 20:30:22 +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 94AEA2917A for ; Thu, 11 May 2023 20:30:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pxB3L-00016N-MV; Thu, 11 May 2023 14:30:12 -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 1pxB3G-00014h-G1 for guix-patches@gnu.org; Thu, 11 May 2023 14:30:07 -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 1pxB3E-0003JJ-Ui for guix-patches@gnu.org; Thu, 11 May 2023 14:30:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pxB3D-0001Kv-JT for guix-patches@gnu.org; Thu, 11 May 2023 14:30:03 -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: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 May 2023 18:30:03 +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: Maxim Cournoyer , Liliana Marie Prikler Cc: 63330@debbugs.gnu.org Received: via spool by 63330-submit@debbugs.gnu.org id=B63330.16838297825062 (code B ref 63330); Thu, 11 May 2023 18:30:03 +0000 Received: (at 63330) by debbugs.gnu.org; 11 May 2023 18:29:42 +0000 Received: from localhost ([127.0.0.1]:53336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxB2s-0001JW-AW for submit@debbugs.gnu.org; Thu, 11 May 2023 14:29:42 -0400 Received: from mail-wm1-f44.google.com ([209.85.128.44]:41387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxB2o-0001Ij-Ro for 63330@debbugs.gnu.org; Thu, 11 May 2023 14:29:39 -0400 Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-3f475364065so5233215e9.1 for <63330@debbugs.gnu.org>; Thu, 11 May 2023 11:29:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683829773; x=1686421773; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ACKojXYmvj9kzW9MGQjZRqImROtr3HnAGRB2M+hJqXo=; b=U2LwzsLm7Z4vDYEfuuD6/Bs8p7xqZZ8WRE62DwX58lghBkXuYRBl3Wq37w3mOZ0Tt3 vXlnmJdoWHkk1PEU6hacDm8gDBM4hBQzwJcW5i+kOmp5sAbqT6+t/9GjdnXgza0NenDp BDvxx/Q9zsEScpvmqnYK5CCopZJdJjO4pNgoZ9iXsE0t83k4YlPzCEdFGtJxUFkFbkDF fWvuLEL6s+wHoQ1JICHf1ZPBqnk29+NLqnP88eiik2W1lV+GAJCgkPexPIOAKKRDx1WY GIphQb9+pi4wShZGBKlX6btBpXveeCJ0ScU/Q1p51oFq+39v/PKVyOf6qR0CtURX1f/R 2iwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683829773; x=1686421773; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ACKojXYmvj9kzW9MGQjZRqImROtr3HnAGRB2M+hJqXo=; b=kZVfKTuoNJ5lMAyRsiS2xc/BGMv+gpB3HzPQNw4x3gZmiXqaMP1dE1TYt0DIKccNdO 8nYGpSisX7gp/I1dayxZU0Lnsda/W8/UWePcbKxkT9QcoJPUjxUFDtGd+4uClnGN5aT+ /5vZah/pB2IGOVnazfTePt/FJYXrtz+22Ns0qwpb9EFQ9STLgETZnpySPv1mKwtolANw R5CZmLa+WHfYVi4DI//zaIKFFwk8XIxM9wBPyrdxb8X6gWZfZm/76oCBbjWhssw3rebS MzYUZJVnSpC9DeBZTQ27ob00yLNe1kKqWf4HpV/aTe8REVQEpi0zDp2U86nCnnhfyQnk 2uIw== X-Gm-Message-State: AC+VfDzUrytb0ck7pHQwGogL/vySycbXZnwHuW0Rxpd5GTLH66oQixF6 oQLVv4aqstMJ1XXyTYL2ctmlye7R1i8= X-Google-Smtp-Source: ACHHUZ7y8Xy8q2a9SVjYfP5MdjLMZJQr6rSx0UnH2l5FsBt2CL8aiAf6lizAeieHliDBlskLEMp58A== X-Received: by 2002:a5d:4004:0:b0:2d2:9c19:f75 with SMTP id n4-20020a5d4004000000b002d29c190f75mr14290699wrp.1.1683829773181; Thu, 11 May 2023 11:29:33 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id l11-20020adfe58b000000b002f22c44e974sm21103357wrm.102.2023.05.11.11.29.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 May 2023 11:29:32 -0700 (PDT) From: Simon Tournier In-Reply-To: <877ctkysm7.fsf@gmail.com> References: <848cb412c5732ef45f170dfb6838a3691ca3f71e.1683389080.git.liliana.prikler@gmail.com> <87o7mwyx3h.fsf_-_@gmail.com> <5b96284b29db54d4b15028adf7b4b82613987051.camel@gmail.com> <877ctkysm7.fsf@gmail.com> Date: Thu, 11 May 2023 15:23:49 +0200 Message-ID: <87cz373st6.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683829822; a=rsa-sha256; cv=none; b=oZyimUN6kNfwO6Y5g7AqpZe+H45ETUzCZTCD/H+y2UvLwvFE60Ca1lOo+f/7cZUwpwn1fX rGc51gKdISppwsIWvVTqkrRd8paTYp6Gt4czpF3cpp51ctQBkg/cfmdRCzlfA0Swm3NdBk 1sSzPMI8/fCNPsyO6s5Pq783dPYL2agU6lIdD9VjzsMLF6t6rZdwAMjAyd0Qcl3CVpuOlC JkFaSuja4szjtTWSUTjbHa6Cr0AhIrVSvHrO/t/3k4Wb3sl72JL1f971FWghus6jaWVjYX cvf0eHfwdiO82QctZyxxoIwvIVlHUxGS5xsSoFNVVmy543ZKp1OnQ6rS8dRXgg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=U2LwzsLm; 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=1683829822; 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: content-transfer-encoding:content-transfer-encoding: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=ACKojXYmvj9kzW9MGQjZRqImROtr3HnAGRB2M+hJqXo=; b=ge+qxbKp+bnwBKjNkdxPhP7ELiQi37P5o15HWwMYuVCLve3deXtkNnbEk6lhr4zF/Hfk/K dOpxfHsa+xcL+RRzbmwbu1WflyFk+iQTqF2tKau1PMaLxw5/CgD7/odsUIvQgDZH56+UOo IxVolJDscA4aHs5/2N0s3nFjJQTj8OMu9cLkFBpuslFvp7+jMj2SNHc28IS76bDlnLEh1v Lc1E2GhGnOk0/fx0BlQlDK2lPitkhDLam99IhCBacJqt/Wjrc/PUA2WDvHh/TMmR15e8oj FottLE3zRlI4IklxVAgr2gxMm46sEuS+BCI1A9B3ce476LsjiAZamcmHsmoTPg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=U2LwzsLm; 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-Migadu-Spam-Score: 7.32 X-Spam-Score: 7.32 X-Migadu-Queue-Id: 94AEA2917A X-TUID: No0djexm1HrU Hi, On dim., 07 mai 2023 at 13:10, Maxim Cournoyer = wrote: >>> > +=C2=A0 #:autoload=C2=A0=C2=A0 (gnu packages serialization) (cereal) >>> > =C2=A0=C2=A0 #:use-module (ice-9 match)) >>>=20 >>> Does autoload buys us something here?=C2=A0 Otherwise I'd stick with the >>> conventional use-module, to avoid future instances of cargo-culting >>> :-). >> It only frees us from the import cycle that would exist otherwise. > > OK, that's a good reason to have it. Maybe a comment would be helpful to remember that answer. :-) Elsewhere, we use: --8<---------------cut here---------------start------------->8--- (inputs (list ;; XXX: We can't simply #:use-module due to a cycle somewhere. (module-ref (resolve-interface '(gnu packages engineering)) 'cgns) cli11 [...]=20=20=20=20=20=20=20=20=20=20=20 --8<---------------cut here---------------end--------------->8--- see paraview-5.9, d-tools, make-autoconf-wrapper, etc. Cheers, simon