unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: "Peter S. Christopher" <peterc@midway.uchicago.edu>
Subject: primitive inclusion
Date: Fri, 25 Jul 2003 15:08:34 -0500 (CDT)	[thread overview]
Message-ID: <Pine.GSO.4.21.0307251458420.27151-100000@harper.uchicago.edu> (raw)

Hi listers,

	I'm having a problem finding a primitive function in one of my
modules. Here is the setup. I have a C program which (after
booting guile) defines a routine a-la:

scm_c_define_gsubr("dvect?", 1, 0 ,0, dvect_p);

Then the program loads a file using

scm_c_primitive_load("root.scm");


At the top of root.scm I include a module via: (use-modules (slab)) Now
within the text of the slab.scm I expect to use dcect?. However, the guile
cannot reference dvect? -- it can't find it. The problem is that dvect? is
being put in the (guile-user) module. And the slab module can't see it.
I've tried to (use-modules (guile-user)) and this seems to have no effect.

Does anyone have any ideas how I can get it so that the slab module can
see dvect? ?  

Thanks for any help,

Pete



_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


             reply	other threads:[~2003-07-25 20:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-25 20:08 Peter S. Christopher [this message]
2003-07-26  4:23 ` primitive inclusion Steve Tell
2003-07-26 18:03   ` Peter S. Christopher

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=Pine.GSO.4.21.0307251458420.27151-100000@harper.uchicago.edu \
    --to=peterc@midway.uchicago.edu \
    /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).