From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iIJDEVhjcGTiigAASxT56A (envelope-from ) for ; Fri, 26 May 2023 09:44:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YEZiEFhjcGS5DQEAG6o9tA (envelope-from ) for ; Fri, 26 May 2023 09:44:24 +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 D0FED2CB02 for ; Fri, 26 May 2023 09:44:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2S74-0000dZ-1b; Fri, 26 May 2023 03:43:50 -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 1q2S72-0000dK-CG for guix-devel@gnu.org; Fri, 26 May 2023 03:43:48 -0400 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2S70-000731-BT for guix-devel@gnu.org; Fri, 26 May 2023 03:43:48 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id AA544417C9; Fri, 26 May 2023 09:43:38 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wiYHTD4IApK5; Fri, 26 May 2023 09:43:37 +0200 (CEST) References: <08ad170f511730aea1d9fcc0e5f5c9c6@dismail.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1685087017; bh=/NYgwAQYY8IzK8xYIYFK5QqpM6i1BuVQ5e3kZWrZ+GE=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=JD2oNtUAw06KRP9f/jKvE0eybUOd0eagoxQX+36y3XJXQhby+Xr4wzJEFiRIXKVbQ EBfSA9f6LBKZpuj9jktI9FLFcY3gLF/6TSmnw9ljfA37bn9EFf39t3QNyVo7p8SQLL c9m4z+Ld1cTC91IXlLhILc4mLRz2HqwlXLtWEWIas/gtB9b3gziwoSFZULgIcfwpmq 30lzCy67JaQfv66bs+Vli3yPWdkB5RUaOvULqhsgxCAtco6XuYBewdDLnkAVJtUgu5 Mm5IyGDLJlqaCfU76MsE37yJUKkmwdSpwwsSvDWRUzeT+HXozhLuT4dLq+kGj58hNl C0RVEpYOthRyA== From: "(" To: jgart Cc: guix-devel@gnu.org Subject: Re: How Can We Make G-Expressions Even More Interactive At The REPL? Date: Fri, 26 May 2023 08:41:52 +0100 In-reply-to: <08ad170f511730aea1d9fcc0e5f5c9c6@dismail.de> Message-ID: <87edn335cs.fsf@disroot.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685087064; a=rsa-sha256; cv=none; b=Gq1RwlVeaoqQZJvKKz10yMrJS0v3aXbgPt5y1IHBW3ElbO4DK6r+4PwxV4AUcvfq6E88L0 Z88zi8KQXALeJbz6dkdukS6CeKMUyr9k240WVxlVTDfK0/Xa+g/j1NA2hX/ubN43UIwJ0x iDr3dT+X8bu+peoqmOH5Ii6hAJDm0WADtz1n3Qy11KniYP+0ExnSmoYKZp8XaBLfuv7cgk pAkvnlCfna4Wm5ELhiRj2iZf6VDT39xYsCMmN08Qx/Usqr41SzE0V5IPhYLJbpk05JeTqz +Wtx3HzQF9McU5fr44l9gPZk9QQZTmUIs+Yl0U1bf7wT8QnzP2ORvu15g9R5qg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=JD2oNtUA; dmarc=pass (policy=reject) header.from=disroot.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685087064; 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=uEqVP8V6PBOuCWaAZWyb3g2i9HnZVaZVG0QuFk11Aw4=; b=Lm6du3MyiiRpwCpjQE0dCxe1D5nD7VDzpdC/fRc3cOPvT26GwvdgCIidgPKKilfMHDe7Jd P4MSu9Ij/s12nX0wvGXKyejZVS9FFv5CEQ5CT9JNtLadAXS+IXISagRXnD8hAm6BCq4bEF 0wYNg0oXE1eVZCEV+dCHcMBS6W5K6kZWPPpIRn9URR9jwJN9Png6scWEg1cPmJPanwr60V zQ9y0w4HVWnjChdYUFDM9nCXDhnHlLxfpzFSmEPsyVA8IEflZC/3T/YkXV+7hAY+wHrinJ 4PNtk4McZNB6qfvl3AzUNjf/8A19a/oZzw6hPhdyE5CK41LTWZ4akwyjXPd5yA== X-Migadu-Spam-Score: -10.64 X-Spam-Score: -10.64 X-Migadu-Queue-Id: D0FED2CB02 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=JD2oNtUA; dmarc=pass (policy=reject) header.from=disroot.org; 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" X-TUID: CxgEKDYiEUdJ "jgart" writes: > Hi Guixers, > > How can we make g-expressions even more interactive at the REPL? > > For example, thing to explore is what can we print instead of '(*approximate*)? It's physically impossible to print anything other than a placeholder there without actually building any derivations, which is the thing GEXP->APPROXIMATE-SEXP is supposed to /avoid/ :) > WDYT if we had even more convenience meta-commands for interactive development with g-expressions? You'd need to give some concrete examples; what can't you do now that you think could be a good REPL command? -- (