From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: scm_* API extension? [was] scm_* API question Date: Thu, 01 Aug 2002 11:51:50 -0500 Sender: guile-devel-admin@gnu.org Message-ID: <87n0s68qu1.fsf@raven.i.defaultvalue.org> References: <20020730121436.GA4465@www> <20020730200929.A18106@kiwi.pyrotechnics.com> <20020731100300.GC5661@www> <20020731182124.GD6561@www> <87ado7a794.fsf@raven.i.defaultvalue.org> <20020801101015.GD7425@www> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1028220697 13340 127.0.0.1 (1 Aug 2002 16:51:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 1 Aug 2002 16:51:37 +0000 (UTC) Cc: Marius Vollmer , guile-devel@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17aJAm-0003T3-00 for ; Thu, 01 Aug 2002 18:51:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17aJBG-0002IV-00; Thu, 01 Aug 2002 12:52:06 -0400 Original-Received: from dsl-209-87-109-2.constant.com ([209.87.109.2] helo=defaultvalue.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17aJB1-0002F1-00 for ; Thu, 01 Aug 2002 12:51:51 -0400 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id 96971BD92; Thu, 1 Aug 2002 11:51:50 -0500 (CDT) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id 63DD428D8; Thu, 1 Aug 2002 11:51:50 -0500 (CDT) Original-To: rm@fabula.de In-Reply-To: <20020801101015.GD7425@www> (rm@fabula.de's message of "Thu, 1 Aug 2002 12:10:15 +0200") Original-Lines: 29 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-pc-linux-gnu) Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:917 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:917 rm@fabula.de writes: >> For example, depending on what you're wanting to do, you might want to >> allow different requests to be handled inside separate namespaces, >> though they're all using a common set of code. OTTOMH, I think you >> could do this by putting the common functionality into a module, say >> foo.scm, then doing something like this for *each* request: >> >> (use-modules (foo)) >> (define foo-module (resolve-module '(foo))) >> >> ;; For each request... >> (define next-request-envt (make-safe-module)) > ^ ^ > | | > *----------------* > | > > Does this mean: module <=> environment in guile? Hmm -- I suspect that depends on what we mean by each of those terms. If it helps, in the above I just used envt loosely, I could have just as easily used "-sandbox" as "-envt". -- Rob Browning rlb @defaultvalue.org, @linuxdevel.com, and @debian.org Previously @cs.utexas.edu GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel