|
From: | Daniel Beecham |
Subject: | Re: [Chicken-users] Error: unbound variable: read-line |
Date: | Fri, 13 Dec 2013 18:47:42 +0100 |
(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)
The interpreter has a number of units/modules exposed by default. Must be explicit with the compiler.
> (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?
>
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/chicken-users
[Prev in Thread] | Current Thread | [Next in Thread] |