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: Daniel Beecham
Subject: Re: [Chicken-users] Error: unbound variable: read-line
Date: Fri, 13 Dec 2013 18:47:42 +0100

Ah, sorry.
I searched the mighty Google which indexed this mailing list (I got results concerning readline, not read-line), but I didn't search the mailing list specifically.

Thank you for your help.

(Resent to include mailing list. I'm not an experienced mailing list user.)


On Fri, Dec 13, 2013 at 6:44 PM, Kon Lovett <address@hidden> wrote:
(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]