guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guile import issue


From: Unstable Horse
Subject: Re: Guile import issue
Date: Thu, 15 Jun 2023 11:59:57 +0200
User-agent: Evolution 3.48.1 (3.48.1-1.module_f38+16663+080ec715)

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'.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]