[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] close-{in,out}put-file?
From: |
Mario Domenech Goulart |
Subject: |
Re: [Chicken-hackers] close-{in,out}put-file? |
Date: |
09 May 2008 07:37:58 -0300 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
Hi Felix,
On Fri, 9 May 2008 11:52:07 +0200 "felix winkelmann" <address@hidden> wrote:
> On Fri, May 9, 2008 at 1:57 AM, Mario Domenech Goulart
> <address@hidden> wrote:
> > Hi folks,
> >
> > It seems that close-{in,out}put-file are defined in library.scm but
> > are not actually implemented.
> >
> > csi> (apropos (regexp "close-.*-file"))
> > close-input-file : variable
> > close-output-file : variable
> >
> > trunk $ grep -r close-input-file *
> > library.scm:(define close-input-file)
> >
> > $ grep -r close-output-file *
> > library.scm:(define close-output-file)
> >
> > Is it intentional?
>
> This is some strange idiom that I sometimes use:
>
> (define exported-var)
>
> (let ()
> (define (internal-helper ...)
> ..)
> ...
> (set! exported-var
> (lambda ...) )
> ..))
Yeah, I could see that. But there's no set! for
close-{in,out}put-file anywhere in the code. There are only the
"empty" definitions.