Hi,

Chicken has worked wonderfully for me so far, but now I have run into
a problem I don't know how to solve. I want to use tinyclos from the
repl, but it does not work. I can use it from compiled code or from
the interpreter, but not from a repl that I start from a compiled
scheme file.

Here is a demonstration:
[EMAIL PROTECTED] src]$ cat scratch.scm
(require-extension tinyclos)
(define-class <foo> (<object>) (id))
(printf "~a~n" <foo>)
(repl)
[EMAIL PROTECTED] src]$ csc scratch.scm
[EMAIL PROTECTED] src]$ ./scratch
#<class foo>
#;> (define-class <bar> (<object>) (id))
Error: unbound variable: <bar>

        Call history:

        <syntax>                (define-class <bar> (<object>) (id))
        <syntax>                (<object>)
        <syntax>                (id)
        <eval>          (define-class <bar> (<object>) (id))    <--
#;>


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to