[Top][All Lists]

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

Re: Unable to import (ice-9 psyntax)

From: Maxime Devos
Subject: Re: Unable to import (ice-9 psyntax)
Date: Thu, 16 Feb 2023 12:23:38 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.0

On 15-02-2023 03:14, Robby Zambito wrote:

For some reason I am having trouble importing the (ice-9 psyntax)
module. [...]

This is an undocumented module; you aren't supposed to import it directly. In fact, looking at the first few lines of ice-9/psyntax.scm, ice-9/psyntax.scm is part of the (guile) module; there does not exist a separate (ice-9 psyntax) module:

  (eval-when (compile)
    (set-current-module (resolve-module '(guile))))

The only use of psyntax is in ice-9/boot.scm:

module/ice-9/boot-9.scm:;; $sc-dispatch is an implementation detail of psyntax. It is used by
module/ice-9/boot-9.scm:(primitive-load-path "ice-9/psyntax-pp")

... and that uses ice-9/psyntax-pp.scm, not ice-9/psyntax.scm (the former is generated from the latter when Guile itself is compiled).

What are you trying to import (ice-9 psyntax) for?


Attachment: OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

reply via email to

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