[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: Re: Fwd: Re: [Slib-discuss] Re: Writing *.init-File
From: |
address@hidden |
Subject: |
Fwd: Re: Fwd: Re: [Slib-discuss] Re: Writing *.init-File |
Date: |
Fri, 23 Apr 2010 22:29:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100413 Thunderbird/3.0.4 |
Thanks Aubrey,
I get:
>
> (define impl:require require)
>
> (define impl:require require)
Error: eval: unbound variable
Error Object: require
instead of that I tried:
> (define (impl:require symbol) (require symbol))
impl:require
-> No error reported
> (slib:load (in-vicinity (library-vicinity) "require"))
>
> (slib:load (in-vicinity (library-vicinity) "require"))
Loading "/usr/share/slib/require.scm"
Done.
()
> (define (require arg)
> (if (string? arg)
> (impl:require arg)
> (slib:require arg)))
>
> (define (require arg)
(if (string? arg)
(impl:require arg)
(slib:require arg)))
require
Everything seems fine. Now I tired to use slib:
> (require 'new-catalog)
Error: wta(1st) to symbol->string
Error Object: 'new-catalog
Seems like it still uses the systems require instead of slib once.
I tried to find out more about my implementations "require. This is the
output before loading any slib init-File:
> (require)
Error: eval: unbound variable
Error Object: sym
> (require foo.scm)
Error: load-file: file not found
Error Object: "foo.scm"
> (require 'foo.scm)
Error: wta(1st) to symbol->string
Error Object: 'foo.scm
> (require "foo.scm")
Error: wta(1st) to symbol->string
Error Object: "foo.scm"
Seems like implementatins require expects an "unquoted symbol" -
whatever this is.
Thanks Bastian
- Fwd: Re: Fwd: Re: [Slib-discuss] Re: Writing *.init-File,
address@hidden <=