unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Robby Zambito <contact@robbyzambito.me>, guile-user@gnu.org
Subject: Re: Unable to import (ice-9 psyntax)
Date: Thu, 16 Feb 2023 12:23:38 +0100	[thread overview]
Message-ID: <00df9b71-69bc-c56d-b58a-a9c96b872ab5@telenet.be> (raw)
In-Reply-To: <87edqrk6st.fsf@robbyzambito.me>


[-- Attachment #1.1.1: Type: text/plain, Size: 911 bytes --]



On 15-02-2023 03:14, Robby Zambito wrote:
> Hello,
> 
> 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?

Greetings,
Maxime.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

  parent reply	other threads:[~2023-02-16 11:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-15  2:14 Unable to import (ice-9 psyntax) Robby Zambito
2023-02-15  6:43 ` Damien Mattei
2023-02-15 20:18   ` Maxime Devos
2023-02-15 23:48     ` Damien Mattei
2023-02-16 11:18       ` Maxime Devos
2023-02-16 11:26         ` Maxime Devos
2023-02-16 11:23 ` Maxime Devos [this message]
2023-02-16 13:39   ` Robby Zambito

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=00df9b71-69bc-c56d-b58a-a9c96b872ab5@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=contact@robbyzambito.me \
    --cc=guile-user@gnu.org \
    /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).