(Wasn't the exact same issue asked & answered Dec 5th?)

On Dec 13, 2013, at 9:35 AM, Daniel Beecham <[email protected]> wrote:

> $ cat read.ss 

(use extras)

> (let ((s (read-line))) (print s))
> $ csc read.ss
> $ ./read
> 
> Error: unbound variable: read-line
> 
>     Call history:
> 
>     read.ss:1: read-line    <--
> 
> $ csi read.ss
> [...]
> ; loading read.ss ...
> <input>
> <input>
> #;1> <C-d>
> 
> $ chicken --version
> [...]
> Version 4.8.0.3 (Stability/4.8.0) (rev 091c3d9)
> linux-unix-gru-x86-64 [ 64bit manyargs dload ptables ]
> compiled 2013-03-13 on aeryn.xorinia.dim (Darwin)
> [...]
> 
> Any ideas why this might be happening?

The interpreter has a number of units/modules exposed by default. Must be 
explicit with the compiler.

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


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

Reply via email to