From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?VG9tbWkgSMO2eW7DpGzDpG5tYWE=?= Newsgroups: gmane.lisp.guile.user Subject: Setting variables in declarative modules Date: Fri, 1 Nov 2024 04:29:42 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27849"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Nov 01 03:30:29 2024 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 1t6hQi-0006zp-MJ for guile-user@m.gmane-mx.org; Fri, 01 Nov 2024 03:30:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6hQI-0002ty-N1; Thu, 31 Oct 2024 22:30:02 -0400 Original-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 1t6hQH-0002tN-4i for guile-user@gnu.org; Thu, 31 Oct 2024 22:30:01 -0400 Original-Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t6hQB-0005lK-L3 for guile-user@gnu.org; Thu, 31 Oct 2024 22:30:00 -0400 Original-Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-7ae3d7222d4so1189900a12.3 for ; Thu, 31 Oct 2024 19:29:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730428193; x=1731032993; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=xmb/0ErD/YyJTbEO55mUp0/dzyJXbcGRO28QsCnwedg=; b=VVD4vU2QmQ4tp7Un97HWMbBkGmet9mB6+71EY+idKAwwO2MwSCq0ivPufPbEZP5JF5 JjyaECQLHURKQwGUXnDJN2Hq/ssVDg++COLiCN/pmLDvelaf+q2as1S3lvPWax5MrU0L vzcHK+ixM5bVAobK1IEFsJK2wwSHW1pl0eyw7i9bVwKXsisjhPOHBvNedFlfHBKgMmo8 1LF0qtfcoS/4CqAmsGSLTpVqaBxhnDjM8FMl8hrg34sHZjCnLXQZp/uNCYVT4MZDEYJ0 aPM+R5rOKtp52L8AK1ZL7jcOovmXYn+IiL8qyvgKHgDVYiMwWUVZ6O8n1v3h3LsdWRDZ yJ1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730428193; x=1731032993; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xmb/0ErD/YyJTbEO55mUp0/dzyJXbcGRO28QsCnwedg=; b=rTb2Oh4Kvxg+jdDJEVDMq4wP4m9gTIjICupoIoNcv6WnuchHKw1NZpiPIvtOh8z+B5 CLUlD+IZ+jMMxIAVwQtWnwPRtpaHR+ANL9rdV5El3Ygw/umJQYyeqZLiH6AcNiq+CyPm HiJ+RHxKaLIAquGYdZxHozFdD6cycZVbDEhSpq9iEiqVPIV5ZCYFlacUa7wme9pEO7y0 H6CFcBN5P+3QUmxF9Q9jRxgW6lpAAsc/7VdMQItdVWXpxX2Nrv41ayVsZm0mUVVV0qvG YrBfFx5+dh3jmikBGBNGARyUj8uqb63rtuD3o2saKlfK7yzpRG25KZsC/KpU2xhQFECE dipQ== X-Gm-Message-State: AOJu0YxdH65C62HiQrwEUXGqp0ROziZWwxe9t+lnY4Rl2v8ccso4kxFH jOvp1Zd6NTqj196S7uefUrvlmDoe8BwK8uHrLHhywMvVyJOpcH3lrOPsCsvEDkm2/L5QMp3il7k yw4Fd+g/TBKx984ViRajSdm13ahLU X-Google-Smtp-Source: AGHT+IHX5d5PrGVpyz3hLC6GUYOpQdzv8iGyFlJyoizWuPF381F056YyU2qkow0cXQKiO9q1NYiafgSHc2xncJPb2oM= X-Received: by 2002:a05:6a21:a4c4:b0:1d9:215c:c63a with SMTP id adf61e73a8af0-1db91e82713mr4956620637.47.1730428193072; Thu, 31 Oct 2024 19:29:53 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=tommi.hoynalanmaa@gmail.com; helo=mail-pg1-x52c.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.29 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 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-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19861 Archived-At: Suppose that I have the following code in a Guile module: --- (define fw-proc #f) (define (my-proc x) (display (fw-proc x))) (define (fw-proc x) (cons x x)) --- Can I declare the module as declarative? - Tommi H=C3=B6yn=C3=A4l=C3=A4nmaa