chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Error: unbound variable: read-line


From: Kon Lovett
Subject: Re: [Chicken-users] Error: unbound variable: read-line
Date: Fri, 13 Dec 2013 09:44:10 -0800

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

On Dec 13, 2013, at 9:35 AM, Daniel Beecham <address@hidden> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/chicken-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]