Hi,

I have been working through SICP and so am pretty new to Scheme, Chicken, 
Emacs and Slime.

I'm using Chicken 4.6.0, the slime egg (at version 1.0 I believe) and a 
version of slime itself checked out from CVS on 2011-02-24.

It's been working great for me and I've been using C-c C-l to load files 
without any issue. Just now I copied and pasted some additional code from 
http://mitpress.mit.edu/sicp/code/ch2.scm into an existing file that was 
working OK. 

My resulting file is here: http://paste.lisp.org/display/120550

If I run csi on the command line then (load "thatfilefromthepaste.scm") works 
fine.

If I use C-c C-l within chicken-slime to do the same then I do not immediately 
see an error but nor do I see the "t" in the message buffer that I normally do. 
If I switch to the repl and try to invoke anything that was defined in the file 
I see a message like this: '"; pipelined request... (swank:listener-eval "ca'.

If I switch to the *inferior-lisp* buffer I see the following:

Error: (apply) call of non-procedure: ()

        Call history:

        <eval>    [apply-generic] (map type-tag args)
        <eval>    [type-tag] (pair? datum)
        <eval>    [type-tag] (number? datum)
        <eval>    [apply-generic] (get op type-tags)
        <eval>    [get] (hash-table-ref/default *op-table* (list op type) 
(quote 
()))
        <eval>    [get] (list op type)
        <eval>    [apply-generic] (apply proc (map contents args))
        <eval>    [apply-generic] (map contents args)
        <eval>    [contents] (pair? datum)
        <eval>    [contents] (number? datum)    <--

Any ideas? Issues with the code aside I would expect the same behaviour from 
(load ..) in csi as I would from C-c C-l in slime.

Thanks,
Conor

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

Reply via email to