guile-user
[Top][All Lists]
Advanced

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

Re: safe guile


From: Paul Jarc
Subject: Re: safe guile
Date: Wed, 09 Oct 2002 12:02:07 -0400
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu)

Major A <address@hidden> wrote:
> I would like to have a plain library which simply executes R5RS and
> nothing more, only the symbols explicitly declared via the gh
> interface are available to the Scheme code.

You can create a new module like this:
(use-modules (ice-9 safe))
(define new-module (make-safe-module))

You can remove some bindings fom that module, and then any code you
eval in that module won't be able to use those procedures.


paul




reply via email to

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