From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Unstable Horse via General Guile related discussions Newsgroups: gmane.lisp.guile.user Subject: Re: Guile import issue Date: Thu, 15 Jun 2023 11:59:57 +0200 Message-ID: <8936fcdef3984e1eb5a19a8977583d99cd1430bd.camel@unstable.horse> References: <4e120d8e-f399-caff-8ce3-c432d8213730@posteo.de> Reply-To: Unstable Horse 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="35316"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.48.1 (3.48.1-1.module_f38+16663+080ec715) To: Zelphir Kaltstahl , Guile User Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Thu Jun 15 12:01:22 2023 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 1q9jn8-00096q-3s for guile-user@m.gmane-mx.org; Thu, 15 Jun 2023 12:01:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9jmg-0004nf-Qu; Thu, 15 Jun 2023 06:00:55 -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 1q9jmZ-0004nB-4V for guile-user@gnu.org; Thu, 15 Jun 2023 06:00:47 -0400 Original-Received: from [140.82.58.198] (helo=unstable.horse) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9jmW-0001Ni-9R for guile-user@gnu.org; Thu, 15 Jun 2023 06:00:46 -0400 Original-Received: from unstable.horse (localhost [127.0.0.1]) by unstable.horse (OpenSMTPD) with ESMTP id 99a790e4; Thu, 15 Jun 2023 10:00:35 +0000 (UTC) Original-Received: from [10.8.244.12] ([207.38.28.68]) by unstable.horse with ESMTPSA id PgnsLEHhimQ79QAA+/WzFw (envelope-from ); Thu, 15 Jun 2023 10:00:34 +0000 In-Reply-To: <4e120d8e-f399-caff-8ce3-c432d8213730@posteo.de> X-Host-Lookup-Failed: Reverse DNS lookup failed for 140.82.58.198 (failed) Received-SPF: pass client-ip=140.82.58.198; envelope-from=stable.master@unstable.horse; helo=unstable.horse X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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:19040 Archived-At: Hmm, if I rewrite your rectangular.scm to: ~~~~rectangular.scm~~~~ (define-module (rectangular) #:use-module ((guile) #:select ((lambda* . =CE=BB))) #:export (real-part)) (define real-part (=CE=BB (num) (car num))) ~~~~ This works both with `import' and `use-modules', so the problem might be somewhere in `library'.