Welcome to the CHICKEN Scheme pasting service

sandbox inheritance issue? added by zilti on Fri Oct 7 22:26:09 2022

#;1> (import sandbox)
; loading /usr/lib64/chicken/11/sandbox.import.so ...
; loading /usr/lib64/chicken/11/sandbox.so ...
; loading /usr/lib64/chicken/11/defstruct.so ...
#;2> (define environ (make-safe-environment 'dulconnex mutable: #t parent: default-safe-environment))
#;3> (safe-eval '(+ 1 1) environment: environ)

Error: unbound variable: +

        Call history:

        <syntax>          (safe-eval (quote (+ 1 1)) #:environment environ)
        <syntax>          (quote (+ 1 1))
        <syntax>          (##core#quote (+ 1 1))
        <eval>    (safe-eval (quote (+ 1 1)) #:environment environ)     <--

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Type in the text below:
   _                       _ _ _     
  (_)_ __ ___   __ _  ___ (_|_) |__  
  | | '_ ` _ \ / _` |/ _ \| | | '_ \ 
  | | | | | | | (_| | (_) | | | |_) |
 _/ |_| |_| |_|\__, |\___/|_|_|_.__/ 
|__/              |_|                
Visually impaired? Let me spell it for you (wav file) download WAV