From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Zelphir Kaltstahl Newsgroups: gmane.lisp.guile.user Subject: Re: Guile import issue Date: Thu, 15 Jun 2023 12:27:59 +0000 Message-ID: <5f8ed30c-3201-6b38-8c87-149ce5dce832@posteo.de> References: <4e120d8e-f399-caff-8ce3-c432d8213730@posteo.de> <8936fcdef3984e1eb5a19a8977583d99cd1430bd.camel@unstable.horse> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13262"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Guile User To: Unstable Horse Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Thu Jun 15 15:27: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 1q9n0U-0003DH-C8 for guile-user@m.gmane-mx.org; Thu, 15 Jun 2023 15:27:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9m59-0002lF-EG; Thu, 15 Jun 2023 08:28:07 -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 1q9m57-0002l6-14 for guile-user@gnu.org; Thu, 15 Jun 2023 08:28:05 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9m54-0006rA-Et for guile-user@gnu.org; Thu, 15 Jun 2023 08:28:04 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 0E91A240105 for ; Thu, 15 Jun 2023 14:28:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1686832081; bh=cAO8xcmK6iPKx2ES/UAu0mkdnka/jdl7BpJ5ahOFXxc=; h=Message-ID:Date:MIME-Version:Subject:To:From:Cc: Content-Transfer-Encoding:From; b=UMXS6DYSlsfhjI8AcAenA+YhrV8luQQ8KI5+BYGcAdL7Nb1REAVZ5MWdmYetcMME8 JJ/da4h5Yv8BitbHHMc4Mrv+XtqX8cfglx3pIS+IU7N6tds9y6Fkhi8FJk/2mDOkFT Eu3W2kFFgpP84WhOG0NvfenBIfxi+s4q8Z6Wky7B8Tpf2BRw3jw1JVYeBtfvlmSFbS 7h8S8a43G0dt46SVwAlKTWzUTVdvkqCs6EmoFicQ843+M3K+ZdwVPZqSE6PO1HWFtG ohoZTaQYHgHQqVN/uHVIygNJ94/CNPoulZGV5D9bOlawlz2mQlVfVnzw4u/j1X+i4X 7b5LWbdeS3cXA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QhhQS3PK3z9rxH; Thu, 15 Jun 2023 14:28:00 +0200 (CEST) Content-Language: en-US In-Reply-To: <8936fcdef3984e1eb5a19a8977583d99cd1430bd.camel@unstable.horse> Received-SPF: pass client-ip=185.67.36.66; envelope-from=zelphirkaltstahl@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: 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:19044 Archived-At: On 6/15/23 11:59, Unstable Horse wrote: > Hmm, if I rewrite your rectangular.scm to: > > ~~~~rectangular.scm~~~~ > (define-module (rectangular) > #:use-module ((guile) #:select ((lambda* . λ))) > #:export (real-part)) > > (define real-part > (λ (num) > (car num))) > ~~~~ > > This works both with `import' and `use-modules', so the problem might > be somewhere in `library'. Thank you, I will probably use this as a workaround. Best regards, Zelphir -- repositories: https://notabug.org/ZelphirKaltstahl