From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Damien Mattei Newsgroups: gmane.lisp.guile.user Subject: Fwd: new function Date: Sun, 19 Sep 2021 11:18:23 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8142"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jean-Paul Roy To: guile-user Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Sep 19 11:18:48 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mRsyG-0001sj-9y for guile-user@m.gmane-mx.org; Sun, 19 Sep 2021 11:18:48 +0200 Original-Received: from localhost ([::1]:59696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRsyE-0004iJ-G0 for guile-user@m.gmane-mx.org; Sun, 19 Sep 2021 05:18:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRsy5-0004gx-Ge for guile-user@gnu.org; Sun, 19 Sep 2021 05:18:37 -0400 Original-Received: from mail-io1-xd30.google.com ([2607:f8b0:4864:20::d30]:46751) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRsy3-0007j7-2e for guile-user@gnu.org; Sun, 19 Sep 2021 05:18:37 -0400 Original-Received: by mail-io1-xd30.google.com with SMTP id d18so5730894iof.13 for ; Sun, 19 Sep 2021 02:18:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lebDobUzfvY9PtFtBOaq6bf3WPi7PIL5ZGWpIBvkwh8=; b=Q0bWNvfKeMfehrOlQKYlpeE2Z42IkB2Kn1dQeX2BzKIbM2AGiSN5+tl9ja+FhD7c1u s4R8CtSYcsstGrViYHK8oX8NLu4LrR6XmRWxJ1I6dL2i607CSgmfYu6f1gqzA0RTEiaO 9pBWgFcmxx/lksHXebZsFXSEICSkk3z4YKYMP6sLxZ/gRe1b6LGijEmUY+F/vk+Qioau Nr9fhxfLTAx7eKcDxfBIdSeBDec7dsH4m/2YOIFvwy9/F6+5m74mBZk1tZ0kwo8RuHr4 6Lyf0EJOZP0CmkxEbuXZePAX6XDiNMzeBUe3ukVT91UqM/xkGM2sxhU3d6lv40T/RDaP EGAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lebDobUzfvY9PtFtBOaq6bf3WPi7PIL5ZGWpIBvkwh8=; b=1M0JVUgCPn+63KpK+1e1gRoSsaubFG7GLfft1qTU9urVcIpblSos5wFyCwsM5W/47R tT3Z+jzgkRdWTGIkmX2FWGfX2XaVYBHzp5yQxeH0hM/q/hEvRZTcIBc9KwtBjT0ScNZg gk3hjXb+78RlTiQ1Wk7/YCs7X/WT2jxOdgAPearZ+Tum20OZiaLJdm1tSZEKvqmkwqNJ leFLrOXPakOZ78Vhrlrl8nSTUv9wEzd6TxAwcKAuVaM9Nklm8/dConSc8z65rGL8HL3+ I89gT4L55KOYYFFPzz0klseLO+AFjkrvVKMFGyjXSKKwmmnpnfRdeykMOGFbxh1O6FxZ rzWw== X-Gm-Message-State: AOAM532RBoBPePEU+9ppxVqXRI1YVdhX57bLvbeBGUGBr8LDMn0nDcSF Bx0MHPh2RIudkIocwHjdDOAxzhT45OIDXb1G6yftFK/f8Hk= X-Google-Smtp-Source: ABdhPJxa/p/b5FfWrzyKXmTb9GDih8b4PwJOcTUZNIrKp5Fjx7+3PcKaJqNVUk5rg3ZkDnLOrfY/J1DE+sj+Sepiz48= X-Received: by 2002:a5e:c603:: with SMTP id f3mr11409583iok.14.1632043113980; Sun, 19 Sep 2021 02:18:33 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::d30; envelope-from=damien.mattei@gmail.com; helo=mail-io1-xd30.google.com 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17753 Archived-At: ---------- Forwarded message --------- From: Damien Mattei Date: Sun, Sep 19, 2021 at 9:54 AM Subject: new function To: hello, i'm developing an extension to Scheme and i need a procedure or macro that define a variable only if it is not bind and if it is just set! it. I can not do it in Guile or any Scheme,and i'm desperately searching a way to do that. I finally conclude that it can be done only by adding it in the language. Can someone include a such function in Guile next release? i know guile have a predicate defined? to test binfing of a vairable but writing a macro with it is not possible because define can be used in an expression context. Thank in advance for any help Damien