unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Help with imports
@ 2024-05-18 16:07 Adam McCartney
  2024-05-18 16:11 ` Adam McCartney
  0 siblings, 1 reply; 2+ messages in thread
From: Adam McCartney @ 2024-05-18 16:07 UTC (permalink / raw)
  To: guile-user

Hi there,

I was wondering if someone could offer some advice on where I'm going wrong with 
the following?

I'm defining a module:

```
amccartn@mc ~/dotfiles  (debug/home-services *)
> rg "define-module" admccartney/home-services/shell.scm
3:(define-module (admccartney home-services shell)
```

And then failing to import it elsewhere, despite having added the directory 
to the guile load path.

```
amccartn@mc ~/dotfiles  (debug/home-services *)
> tree -a ~/dotfiles/admccartney/home-services/
/home/amccartn/dotfiles/admccartney/home-services/
├── desktop.scm
└── shell.scm

1 directory, 2 files
amccartn@mc ~/dotfiles  (debug/home-services *)
> GUILE_LOAD_PATH=$GUILE_LOAD_PATH:$HOME/dotfiles/ guile
GNU Guile 3.0.9
Copyright (C) 1995-2023 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> ,import(admccartn home-services shell)
While executing meta-command:
no code for module (admccartn home-services shell)
```

Any help much appreciated!

regards,
Adam

-- 
  Adam McCartney - https://admccartney.mur.at 
/



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-18 16:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-18 16:07 Help with imports Adam McCartney
2024-05-18 16:11 ` Adam McCartney

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