unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>
To: Unstable Horse <stable.master@unstable.horse>
Cc: Guile User <guile-user@gnu.org>
Subject: Re: Guile import issue
Date: Thu, 15 Jun 2023 12:27:59 +0000	[thread overview]
Message-ID: <5f8ed30c-3201-6b38-8c87-149ce5dce832@posteo.de> (raw)
In-Reply-To: <8936fcdef3984e1eb5a19a8977583d99cd1430bd.camel@unstable.horse>

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




  reply	other threads:[~2023-06-15 12:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-14 20:15 Guile import issue Zelphir Kaltstahl
2023-06-15  9:59 ` Unstable Horse via General Guile related discussions
2023-06-15 12:27   ` Zelphir Kaltstahl [this message]
2023-06-15 10:29 ` Jean Abou Samra
2023-06-15 10:33   ` Jean Abou Samra
2023-06-15 12:25     ` Zelphir Kaltstahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5f8ed30c-3201-6b38-8c87-149ce5dce832@posteo.de \
    --to=zelphirkaltstahl@posteo.de \
    --cc=guile-user@gnu.org \
    --cc=stable.master@unstable.horse \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).