chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] close-{in,out}put-file?


From: felix winkelmann
Subject: Re: [Chicken-hackers] close-{in,out}put-file?
Date: Fri, 9 May 2008 11:52:07 +0200

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?
>

Hi!

This is some strange idiom that I sometimes use:

(define exported-var)

(let ()
  (define (internal-helper ...)
    ..)
  ...
  (set! exported-var
    (lambda ...) )
  ..))



cheers,
felix




reply via email to

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