From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eLkQCbgueGcijAAAe85BDQ:P1 (envelope-from ) for ; Fri, 03 Jan 2025 18:38:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id eLkQCbgueGcijAAAe85BDQ (envelope-from ) for ; Fri, 03 Jan 2025 19:38:48 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=TQIaVbBM; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735929527; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kKRo45r0aHztmn5pyswR9ftIsKhmwetwdfUYt0Bx8pc=; b=KiFyeT3btOPUbAJRTaLkrlPcAoUWJDyRV0+rWGbMrdyU/eMtE9bd/Tm/27s988KDnUKmPh WoDrvwvdhdfSNV0CdZM3tXflHwgVwR1tjFKbDLD+gdoZqVVfo1h+EjbfjF4k8xiyCqRnMQ Et+WKofxvE5wZk42pNNHbMrM0itOL7k3aaDgXJxKirN6yGqIVRNsSNXrm95rpjbG02a3ao 8PYpj7zg/r+u5UZ5M6CtsJPmazULoJcSQu6kWtgpBtjhuwI6A0pyeaoBycdoULo9QCsODD Fq3dn6zrjs3EurAdvfrUw7JrHQ+ec6VL4od5+EhdAUQVgxM9SM3H6Sxwb8WvZg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=TQIaVbBM; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735929527; a=rsa-sha256; cv=none; b=ld3apVggGYprKQezojPd+Xxvm2xGqUqlyDfGS/cXYk8AUa0AQiCwlWQYcJzd/aK7h2pP/h N8BxVXSUjRvYcAe+5rtoqF3XFtOtcDGkBKnDyGbg5+kT0/EGVPxEsFzFEBpsQfB69fOL6Z iKdEefIbQEDr8znupDNAS1eZxtCVKfDS5k0U4K42sB885UH3LukpCODuHquj6r5W5f3YL2 A/iCByfRdTQeo7TKGJTOcxSM7RKrMqhZC2YVIn5h2juRjrcUwfyKykMZwwy7+geCZXjKfz SXLvJaEhhVVKAnBfIdg3/d46X7FFeQONQGFClE1sv3mI7QVef6S/8+fvWAcHHw== 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 0F4BA790E for ; Fri, 03 Jan 2025 19:38:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTmYg-0007pC-TV; Fri, 03 Jan 2025 13:38:07 -0500 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 1tTmYZ-0007or-A1 for guix-devel@gnu.org; Fri, 03 Jan 2025 13:38:00 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tTmYX-0004W9-Qc for guix-devel@gnu.org; Fri, 03 Jan 2025 13:37:59 -0500 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-435f8f29f8aso91036095e9.2 for ; Fri, 03 Jan 2025 10:37:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735929476; x=1736534276; darn=gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=kKRo45r0aHztmn5pyswR9ftIsKhmwetwdfUYt0Bx8pc=; b=TQIaVbBMsp3jMyuW5nrVSJEKVn0DRS+RJn2Enyg7/nGhEnt2soK/zF58NMBVhKcagj Q2XRIdFTjzHgFJULs2w5zGQmG8xSPTSvU0yklKL9UwG5grRvZEMa9CswKDWZcVUFdwOs yaBpJ8sSoaY745/lqZW37hvlHSiptqeDczrKS3hiqz0JuCpBstIwmQfIchXvi+wVS10k z8y3gRw0GkKOYF02rZSGViwFE+wqaEKUM4zjoAkT/aLMHaW4HPymQXn6sN9p4YecYhbW XFbDffKg0gWMCa49U1Vei9F6AJtkzlBbosWzWO4ujdXveRyCucpLcv7jNcmDgLVjkxt3 peiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735929476; x=1736534276; h=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=kKRo45r0aHztmn5pyswR9ftIsKhmwetwdfUYt0Bx8pc=; b=MwCzlXTMNI+9B3o+0TlekgsTz1y8Y57/ifjhkKSeR2CO/uY6hYimfZOHnSO7Z+RBK6 Eo/LGtx8nOtGBVpdN/xYgZhYFBIGbWflmB7J9/xgyio4lb2ockJdNX/5wKC9OwH+Q86o cdkxAILdPdl2S8zMLBJEYJJK/wHV4fcR3+oSQPT19UfAUaRQYqYHoZ+S1ViehmyhQefh PwXgcIqe6WzAcOrbizPj0vvndKMTmQ77xUuwkoOnL5XXOOBgl0XZSvs+BZxF/G6S88Vo FGLDyNS2HZSE42nqdmOO8/cdtFijhtWfa6/mb20Gk3PT/LpGBID1OkGcdGx/OUizrN6T JdQA== X-Forwarded-Encrypted: i=1; AJvYcCVYjas6wTy/3nQ4XHmIM4bN4YADMhgqfPXys3rC4xv9OgLFMhfzNyet9z68WIlmYdISyL2+vaNtAuqJ@gnu.org X-Gm-Message-State: AOJu0YxbaNmk5Q0Mf2JdG31/sv6yTTAPW4gTKohDhxx0bWl8dO3tCbxH rkysuxtjgsV21wo6st1Z3LMCY0Bfpv/S6p+/M08KhgpWmcUIWM0ytfTQww== X-Gm-Gg: ASbGncsVlOcLa5s0Vf+rtZs1kUmGX8n2zvnVtOkWOYcoqBRXVJXRV0XzR1O8ONuYYsQ XYd7JQFJGkAtIkQqK6j1QkpKoychQlys7vP8+4eyj+HzMjVaex8JwX64y9EsIupcis2+pkat/6Q YM8Sd/6sr+L83nvgZ2p15cOcjw5An9Pxl0bq93kiXrtORzZ6V70H/0K1EkfWofgLShQ45ktz0Cg sLp2Kw4gUl3PsncRZNrTpVRlIh7qShADM+9Hu2sTghcSFn8vM00r2REVFjmlJtYx9KM7S+UD0Lz uvtvkOLNZjymTzdX4w1I1EPWccKpntbZGl6j9WKxiA== X-Google-Smtp-Source: AGHT+IFLz8TiLNxByjlyH3RIOeL1g9bz4MK9fH/bQabB1ZRad5ocLxstNxTrfJjAA/BBjdNBAYlovg== X-Received: by 2002:adf:b197:0:b0:38a:4b8a:e47d with SMTP id ffacd0b85a97d-38a4b8ae57amr16461574f8f.26.1735929476130; Fri, 03 Jan 2025 10:37:56 -0800 (PST) Received: from lili (roam-nat-fw-prg-194-254-61-41.net.univ-paris-diderot.fr. [194.254.61.41]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8a8d3dsm40866009f8f.94.2025.01.03.10.37.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jan 2025 10:37:55 -0800 (PST) From: Simon Tournier To: Maxim Cournoyer Cc: Justin Veilleux , guix-devel@gnu.org Subject: Re: Alternative syntax for interacting with the store monad In-Reply-To: <87seq145qi.fsf@gmail.com> References: <875xo49w0p.fsf@cock.li> <87h67mnh03.fsf@gmail.com> <87seq145qi.fsf@gmail.com> Date: Fri, 03 Jan 2025 14:08:29 +0100 Message-ID: <875xmwniya.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x336.google.com X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, 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=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 0F4BA790E X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: 0.11 X-Spam-Score: 0.11 X-TUID: vG7E048CQIkL Hi Maxim, On Fri, 03 Jan 2025 at 00:04, Maxim Cournoyer wrote: > (I sometimes dabble with > the monad, and the reason I don't do it more often at the REPL is partly > because I need to retrain myself how to use it every time :-)). > Something more intuitive could help Well, if we are speaking about REPL, I think one direction to explore seems about meta command. Time to time, I use run-in-store or enter-store-monad and for my use cases, they have been enough. Could you provide an example of what you would like to run from the REPL? Cheers, simon